mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 20:22:28 +00:00
Merge pull request #113 from someh4x0r/master
Fix BlockTrapDoor.disableValidation on server
This commit is contained in:
commit
3a0a329c77
1 file changed
+11
@@ -40,3 +40,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -280,6 +288,10 @@
|
||||
*/
|
||||
private static boolean isValidSupportBlock(int par0)
|
||||
{
|
||||
+ if (disableValidation)
|
||||
+ {
|
||||
+ return true;
|
||||
+ }
|
||||
if (par0 <= 0)
|
||||
{
|
||||
return false;
|
||||
Reference in new issue
Block a user