Fixed crash with the Abtruse Platform and clicking with an empty hand.

This commit is contained in:
Vasco Lavos committed 2014-06-07 22:21:18 +01:00
1 parent f5ec780f32
commit 2e60078f1e
1 file changed
+1 -1
@@ -81,7 +81,7 @@ public abstract class BlockCamo extends BlockModContainer<TileCamo> {
}
}
if(doChange) {
if(doChange && currentStack.getItem() != null) {
int metadata = currentStack.getItemDamage();
if(block instanceof BlockDirectional) {
switch (par6) {