mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 10:14:42 +02:00
Removing unnecessary parts.
This commit is contained in:
@ -119,18 +119,12 @@ public class PlotMeConverter {
|
|||||||
if (owner == null) {
|
if (owner == null) {
|
||||||
if (name.equals("*")) {
|
if (name.equals("*")) {
|
||||||
owner = DBFunc.everyone;
|
owner = DBFunc.everyone;
|
||||||
} else {
|
|
||||||
try {
|
|
||||||
UUID uuid = uuidFromBytes(r.getBytes("ownerId"));
|
|
||||||
owner = UUIDHandler.getUUID(UUIDHandler.getName(uuid));
|
|
||||||
}
|
}
|
||||||
catch (Exception e) {}
|
else {
|
||||||
if (owner == null) {
|
|
||||||
sendMessage("&cCould not identify owner for plot: " + id +" -> " + name);
|
sendMessage("&cCould not identify owner for plot: " + id +" -> " + name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
final Plot plot = new Plot(id, owner, new ArrayList<UUID>(), new ArrayList<UUID>(), world);
|
final Plot plot = new Plot(id, owner, new ArrayList<UUID>(), new ArrayList<UUID>(), world);
|
||||||
plots.get(world).put(id, plot);
|
plots.get(world).put(id, plot);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user