mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 20:52:34 +00:00
Fixed a wrong argument for dimensions, should fix entity tracking.
This commit is contained in:
1 parent
6c6d4a7ed9
commit
02b3c0042d
1 file changed
+1
-1
@@ -105,7 +105,7 @@
|
||||
+ for (Integer id : DimensionManager.getIDs())
|
||||
+ {
|
||||
+ WorldServer world = (id == 0 ? overWorld : new WorldServerMulti(this, var9, par2Str, id, var8, overWorld));
|
||||
+ world.addWorldAccess(new WorldManager(this, overWorld));
|
||||
+ world.addWorldAccess(new WorldManager(this, world));
|
||||
+ world.difficultySetting = propertyManagerObj.getIntProperty("difficulty", 1);
|
||||
+ world.setAllowedSpawnTypes(propertyManagerObj.getBooleanProperty("spawn-monsters", true), spawnPeacefulMobs);
|
||||
+ world.getWorldInfo().setGameType(var6);
|
||||
|
||||
Reference in new issue
Block a user