mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 13:09:42 +00:00
Fixed platform crashes.
This commit is contained in:
1 parent
ce5148f5a4
commit
746f7d84fe
1 file changed
+1
-1
@@ -25,7 +25,7 @@ public class TilePlatform extends TileCamo implements IManaCollisionGhost {
|
||||
|
||||
public boolean onWanded(EntityPlayer player) {
|
||||
if(player != null) {
|
||||
if(player.isSneaking())
|
||||
if(camo == null || player.isSneaking())
|
||||
swapSelfAndPass(this, true);
|
||||
else swapSurroudings(this, false);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user