Removed use of world.getChunkAt(x,z), for checking if a chunk is loaded, because calling it loads the chunk. Replaced with world.isChunkLoaded(x,z)