Location.isChunkLoaded() API

This commit is contained in:
Aikar 2018-04-30 19:27:31 -04:00
parent f8d5489645
commit 623c56ab78

View File

@ -533,6 +533,7 @@ public class Location implements Cloneable, ConfigurationSerializable, io.paperm
return this;
}
public boolean isChunkLoaded() { return this.getWorld().isChunkLoaded(locToBlock(x) >> 4, locToBlock(z) >> 4); } // Paper
@Override
public boolean equals(Object obj) {
if (obj == null) {