Remove duplicate method

This commit is contained in:
Raoul Van den Berge
2016-08-07 01:11:52 +02:00
parent 7aa4e1a225
commit 4e0a0de509

View File

@@ -74,10 +74,6 @@ public class BlockConstructor extends BlockCable {
return new TileConstructor(); return new TileConstructor();
} }
private boolean isInAABB(AxisAlignedBB aabb, float hitX, float hitY, float hitZ) {
return hitX >= aabb.minX && hitX <= aabb.maxX && hitY >= aabb.minY && hitY <= aabb.maxY && hitZ >= aabb.minZ && hitZ <= aabb.maxZ;
}
@Override @Override
public boolean onBlockActivatedDefault(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) { public boolean onBlockActivatedDefault(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
if (hitCablePart(state, world, pos, hitX, hitY, hitZ)) { if (hitCablePart(state, world, pos, hitX, hitY, hitZ)) {