Location.isChunkLoaded() API
This commit is contained in:
parent
f8d5489645
commit
623c56ab78
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue