Initialise location cache

This commit is contained in:
fullwall 2020-03-28 01:51:53 +08:00
parent 4cc3c40c87
commit 8779062a82
1 changed files with 1 additions and 2 deletions

View File

@ -422,8 +422,7 @@ public class CitizensNPC extends AbstractNPC {
}
}
private static final Location CACHE_LOCATION = null;
private static final Location CACHE_LOCATION = new Location(null, 0, 0, 0);
private static final SetMultimap<ChunkCoord, NPC> CHUNK_LOADERS = HashMultimap.create();
private static final String NPC_METADATA_MARKER = "NPC";
private static boolean SUPPORT_GLOWING = true;