Updated constructor parameter name

This commit is contained in:
drcrazy 2018-09-04 17:37:32 +03:00
parent b41783054e
commit 6d4616b38e
3 changed files with 4 additions and 10 deletions

View file

@ -41,8 +41,8 @@ import java.util.List;
public class ItemBlockDigitalChest extends ItemBlock {
public ItemBlockDigitalChest(Block p_i45328_1_) {
super(p_i45328_1_);
public ItemBlockDigitalChest(Block block) {
super(block);
}
@Override
@ -62,8 +62,6 @@ public class ItemBlockDigitalChest extends ItemBlock {
}
if (world.getBlockState(pos).getBlock() == block) {
world.getBlockState(pos).getBlock().onBlockPlacedBy(world, pos, newState, player, stack);
// world.getBlockState(pos).getBlock().onPostBlockPlaced(world, x,
// y, z, metadata);
}
if (!stack.isEmpty() && stack.hasTagCompound()) {
((TileDigitalChest) world.getTileEntity(pos))

View file

@ -41,8 +41,8 @@ import java.util.List;
public class ItemBlockQuantumChest extends ItemBlock {
public ItemBlockQuantumChest(Block p_i45328_1_) {
super(p_i45328_1_);
public ItemBlockQuantumChest(Block block) {
super(block);
}
@Override
@ -62,8 +62,6 @@ public class ItemBlockQuantumChest extends ItemBlock {
}
if (world.getBlockState(pos).getBlock() == block) {
world.getBlockState(pos).getBlock().onBlockPlacedBy(world, pos, newState, player, stack);
// world.getBlockState(pos).getBlock().onPostBlockPlaced(world, x,
// y, z, metadata);
}
if (!stack.isEmpty() && stack.hasTagCompound()) {
((TileQuantumChest) world.getTileEntity(pos))

View file

@ -48,8 +48,6 @@ public class ItemBlockQuantumTank extends ItemBlock {
}
if (world.getBlockState(pos).getBlock() == block) {
world.getBlockState(pos).getBlock().onBlockPlacedBy(world, pos, newState, player, stack);
// world.getBlockState(pos).getBlock().onPostBlockPlaced(world, x,
// y, z, metadata);
}
if (!stack.isEmpty() && stack.hasTagCompound()) {
((TileQuantumTank) world.getTileEntity(pos))