mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 21:20:12 +00:00
Fix the accessor and type on World.getPersistentChunksFor()
Update FML:8bd98c38bd98c3Fix a small problem with the new MCP container- it can cause NPEs. Nice.34cc42dFix up some javadoc complaints
This commit is contained in:
1 parent
40368aec68
commit
efcda1a946
3 files changed
+3
-3
No files matched your search
@@ -677,7 +677,7 @@ public class ForgeChunkManager
|
||||
* @param world
|
||||
* @return
|
||||
*/
|
||||
public static SetMultimap<ChunkCoordIntPair, Ticket> getPersistentChunksFor(World world)
|
||||
public static ImmutableSetMultimap<ChunkCoordIntPair, Ticket> getPersistentChunksFor(World world)
|
||||
{
|
||||
return forcedChunks.containsKey(world) ? forcedChunks.get(world) : ImmutableSetMultimap.<ChunkCoordIntPair,Ticket>of();
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
import java.util.Random;
|
||||
import java.util.Set;
|
||||
|
||||
+import com.google.common.collect.SetMultimap;
|
||||
+import com.google.common.collect.ImmutableSetMultimap;
|
||||
+
|
||||
+import net.minecraftforge.common.ForgeChunkManager;
|
||||
+import net.minecraftforge.common.ForgeChunkManager.Ticket;
|
||||
@@ -738,7 +738,7 @@
|
||||
+ *
|
||||
+ * @return
|
||||
+ */
|
||||
+ SetMultimap<ChunkCoordIntPair, Ticket> getPersistentChunks()
|
||||
+ public ImmutableSetMultimap<ChunkCoordIntPair, Ticket> getPersistentChunks()
|
||||
+ {
|
||||
+ return ForgeChunkManager.getPersistentChunksFor(this);
|
||||
+ }
|
||||
|
||||
Reference in new issue
Block a user