diff --git a/src/main/java/com/massivecraft/factions/FLocation.java b/src/main/java/com/massivecraft/factions/FLocation.java index d3f085ee..ab754be5 100644 --- a/src/main/java/com/massivecraft/factions/FLocation.java +++ b/src/main/java/com/massivecraft/factions/FLocation.java @@ -99,6 +99,10 @@ public static int regionToChunk(int regionVal) { return regionVal << 5; // "<< 5" == "* 32" } + public Chunk getChunk(){ + return Bukkit.getWorld(worldName).getChunkAt(x, z); + } + public static HashSet getArea(FLocation from, FLocation to) { HashSet ret = new HashSet<>();