From e4dc51e2358eddb560e7dfda6218d10cfc2a8de0 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Fri, 4 Feb 2011 20:11:57 +0000 Subject: [PATCH] getLoadedChunks method By: Raphfrk --- .../src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index dc3945db89..6f4e49bcdf 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -59,6 +59,10 @@ public class CraftWorld implements World { return world.A.a( x, z ); } + public Chunk[] getLoadedChunks() { + return world.A.getLoadedChunks(); + } + public void loadChunk(int x, int z) { world.A.d(x, z); }