mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-15 20:04:43 +02:00
Remove deprecated methods without internal use.
This commit is contained in:
@ -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()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user