mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
Fixed crash with the Abtruse Platform and clicking with an empty hand.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user