Updated FML, fixed custom tool hooks, and spawn protection/player reach hooks.

This commit is contained in:
LexManos committed 2012-08-11 14:45:48 -07:00
1 parent 97aae96754
commit 6b4288d00f
10 files changed
+237 -42

No files matched your search

@@ -55,6 +55,15 @@
}
}
@@ -566,7 +582,7 @@
var6 = var5;
}
- return var6 > 16 || this.mcServer.getConfigurationManager().areCommandsAllowed(par1EntityPlayer.username) || this.mcServer.isSinglePlayer();
+ return var6 > mcServer.spawnProtectionSize || this.mcServer.getConfigurationManager().areCommandsAllowed(par1EntityPlayer.username) || this.mcServer.isSinglePlayer();
}
protected void initialize(WorldSettings par1WorldSettings)
@@ -689,6 +705,7 @@
}