FIXME removals

This commit is contained in:
Sebastian Hartte
2020-06-22 11:35:52 +02:00
parent 195cbecdb3
commit 45dd8930d3
17 changed files with 48 additions and 106 deletions
@@ -19,6 +19,7 @@
package appeng.items.tools;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemUseContext;
@@ -131,7 +132,7 @@ public class ToolNetworkTool extends AEBaseItem implements IGuiItem, IAEWrench {
final TileEntity te = w.getTileEntity(pos);
if (!(te instanceof IGridHost)) {
if (bs.rotate(w, pos, Rotation.CLOCKWISE_90) != bs) {
bs.neighborChanged(w, pos, Platform.AIR_BLOCK, pos, false);
bs.neighborChanged(w, pos, Blocks.AIR, pos, false);
p.swingArm(hand);
return !w.isRemote;
}
@@ -308,7 +308,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
random.nextFloat() * 0.4F + 0.8F);
if (or.getBlockState() == null) {
w.setBlockState(pos, Platform.AIR_BLOCK.getDefaultState(), 3);
w.setBlockState(pos, Blocks.AIR.getDefaultState(), 3);
} else {
w.setBlockState(pos, or.getBlockState(), 3);
}