mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Ensure sign isn't physicsed
This commit is contained in:
parent
3dbbbc698e
commit
a807b98f07
@ -373,7 +373,7 @@ public class BukkitUtil extends WorldUtil {
|
|||||||
sign.setLine(i, LEGACY_COMPONENT_SERIALIZER
|
sign.setLine(i, LEGACY_COMPONENT_SERIALIZER
|
||||||
.serialize(MINI_MESSAGE.parse(lines[i].getComponent(LocaleHolder.console()), replacements)));
|
.serialize(MINI_MESSAGE.parse(lines[i].getComponent(LocaleHolder.console()), replacements)));
|
||||||
}
|
}
|
||||||
sign.update(true);
|
sign.update(true, false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -1738,7 +1738,6 @@ public class Plot {
|
|||||||
area.addPlot(this);
|
area.addPlot(this);
|
||||||
updateWorldBorder();
|
updateWorldBorder();
|
||||||
}
|
}
|
||||||
this.getPlotModificationManager().setSign(player.getName());
|
|
||||||
player.sendMessage(TranslatableCaption.of("working.claimed"), Template.of("plot", this.getId().toString()));
|
player.sendMessage(TranslatableCaption.of("working.claimed"), Template.of("plot", this.getId().toString()));
|
||||||
if (teleport) {
|
if (teleport) {
|
||||||
if (!auto && Settings.Teleport.ON_CLAIM) {
|
if (!auto && Settings.Teleport.ON_CLAIM) {
|
||||||
@ -1786,6 +1785,7 @@ public class Plot {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
plotworld.getPlotManager().claimPlot(this, null);
|
plotworld.getPlotManager().claimPlot(this, null);
|
||||||
|
this.getPlotModificationManager().setSign(player.getName());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user