Fixed mech pads not working

This commit is contained in:
Anuken
2019-11-05 21:51:58 -05:00
parent ccac67ced6
commit 82ae378edc

View File

@@ -44,11 +44,6 @@ public class MechPad extends Block{
stats.add(BlockStat.productionTime, buildTime / 60f, StatUnit.seconds);
}
@Override
public boolean shouldConsume(Tile tile){
return false;
}
@Remote(targets = Loc.both, called = Loc.server)
public static void onMechFactoryTap(Player player, Tile tile){
if(player == null || !(tile.block() instanceof MechPad) || !checkValidTap(tile, player)) return;