FIXME removals
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user