Fix BlockTrapDoor.disableValidation on server
This commit is contained in:
parent
9083be320b
commit
008972e448
|
@ -40,3 +40,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -280,6 +288,10 @@
|
||||||
|
*/
|
||||||
|
private static boolean isValidSupportBlock(int par0)
|
||||||
|
{
|
||||||
|
+ if (disableValidation)
|
||||||
|
+ {
|
||||||
|
+ return true;
|
||||||
|
+ }
|
||||||
|
if (par0 <= 0)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue