Wrench Fix?

This commit is contained in:
AlgorithmX2
2014-01-30 12:53:06 -06:00
parent 771ba23c0d
commit d1b67870e9
+7 -5
View File
@@ -816,11 +816,13 @@ public class Platform
} }
catch (Throwable _) catch (Throwable _)
{ // explodes without BC { // explodes without BC
if ( eq.getItem() instanceof IAEWrench )
{ }
IAEWrench wrench = (IAEWrench) eq.getItem();
return wrench.canWrench( eq, player, x, y, z ); if ( eq.getItem() instanceof IAEWrench )
} {
IAEWrench wrench = (IAEWrench) eq.getItem();
return wrench.canWrench( eq, player, x, y, z );
} }
} }
return false; return false;