From f7efebca53d422b8a5bdf46e60c022f578ee7ea3 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 2 Nov 2020 12:40:18 +0100 Subject: [PATCH] World loader tests --- src/de/steamwar/spectatesystem/util/WorldLoader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/spectatesystem/util/WorldLoader.java b/src/de/steamwar/spectatesystem/util/WorldLoader.java index eb246de..ba7a611 100644 --- a/src/de/steamwar/spectatesystem/util/WorldLoader.java +++ b/src/de/steamwar/spectatesystem/util/WorldLoader.java @@ -39,8 +39,9 @@ public class WorldLoader { public static void configureForceLoad(){ for(int cX = (int) Math.floor(Config.ArenaMinX / 16.0); cX <= (int) Math.floor(Config.ArenaMaxX / 16.0); cX++){ for(int cZ = (int) Math.floor(Config.ArenaMinZ / 16.0); cZ <= (int) Math.floor(Config.ArenaMaxZ / 16.0); cZ++){ + world.loadChunk(cX, cZ); world.setChunkForceLoaded(cX, cZ, true); - world.loadChunk(cX, cZ, false); + System.out.println("Force loading " + cX + " " + cZ); } } }