Remove deprecated methods without internal use.

This commit is contained in:
sauilitired
2018-08-20 11:05:00 +02:00
parent 3c86531b58
commit be9fb3bd3a
9 changed files with 18 additions and 387 deletions

View File

@ -28,7 +28,7 @@ public class EntityPortal_1_7_9 implements Listener {
List<MetadataValue> meta = entity.getMetadata("plotworld");
World world = entity.getLocation().getWorld();
if (meta == null || meta.isEmpty()) {
if (PS.get().isPlotWorld(world.getName())) {
if (PS.get().hasPlotArea(world.getName())) {
entity.setMetadata("plotworld",
new FixedMetadataValue((Plugin) PS.get().IMP, entity.getLocation()));
}