mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 12:19:48 +00:00
go through items a bit
This commit is contained in:
1 parent
67ccd5b7db
commit
199a92f47a
7 files changed
+20
-19
No files matched your search
@@ -59,12 +59,12 @@ public class ItemBlockLandmine extends ItemBlock
|
||||
@Override
|
||||
public boolean placeBlockAt (ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metadata)
|
||||
{
|
||||
if (!world.setBlock(x, y, z, TRepo.landmine.blockID, metadata, 3))
|
||||
if (!world.setBlock(x, y, z, TRepo.landmine, metadata, 3))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (world.getBlockId(x, y, z) == TRepo.landmine.blockID)
|
||||
if (world.getBlock(x, y, z) == TRepo.landmine)
|
||||
{
|
||||
TRepo.landmine.onBlockPlacedBy(world, x, y, z, player, stack);
|
||||
|
||||
|
||||
Reference in new issue
Block a user