mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 20:42:55 +00:00
Fixed errors.
This commit is contained in:
parent
bdbebfa29d
commit
fbaca34218
25 changed files with 92 additions and 71 deletions
|
@ -222,7 +222,7 @@ public class SchematicCmd extends SubCommand {
|
|||
}
|
||||
final Plot plot = SchematicCmd.this.plots[SchematicCmd.this.counter];
|
||||
final CompoundTag sch = SchematicHandler.manager.getCompoundTag(worldname, plot.id);
|
||||
final String o = UUIDHandler.getName(plot.owner);
|
||||
final String o = UUIDHandler.getName(plot.owner_);
|
||||
final String owner = o == null ? "unknown" : o;
|
||||
if (sch == null) {
|
||||
MainUtil.sendMessage(null, "&7 - Skipped plot &c" + plot.id);
|
||||
|
@ -303,7 +303,7 @@ public class SchematicCmd extends SubCommand {
|
|||
}
|
||||
final Plot plot = SchematicCmd.this.plots[SchematicCmd.this.counter];
|
||||
final CompoundTag sch = SchematicHandler.manager.getCompoundTag(world, plot.id);
|
||||
final String o = UUIDHandler.getName(plot.owner);
|
||||
final String o = UUIDHandler.getName(plot.owner_);
|
||||
final String owner = o == null ? "unknown" : o;
|
||||
if (sch == null) {
|
||||
MainUtil.sendMessage(plr, "&7 - Skipped plot &c" + plot.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue