mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-27 23:45:44 +00:00
Some more fixes for chunkloading code. Works very reliably now.
This commit is contained in:
1 parent
3022d556a8
commit
0fd2b137ac
4 files changed
+76
-74
No files matched your search
@@ -518,7 +518,7 @@ public class ForgeChunkManager
|
||||
*/
|
||||
public static SetMultimap<ChunkCoordIntPair, Ticket> getPersistentChunksFor(World world)
|
||||
{
|
||||
return ImmutableSetMultimap.copyOf(forcedChunks.get(world));
|
||||
return forcedChunks.containsKey(world) ? ImmutableSetMultimap.copyOf(forcedChunks.get(world)) : ImmutableSetMultimap.<ChunkCoordIntPair,Ticket>of();
|
||||
}
|
||||
|
||||
static void saveWorld(World world)
|
||||
|
||||
Reference in new issue
Block a user