mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
more fixes
This commit is contained in:
1 parent
4228b26a07
commit
c5426eb992
31 files changed
+244
-225
No files matched your search
@@ -9,6 +9,7 @@ import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.entity.monster.EntityIronGolem;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -972,7 +973,7 @@ public class CartEntity extends Entity implements IInventory, IEntityAdditionalS
|
||||
{
|
||||
ItemStack var2 = player.inventory.getCurrentItem();
|
||||
|
||||
if (var2 != null && var2.itemID == Item.coal.itemID)
|
||||
if (var2 != null && var2.itemID == Items.coal.itemID)
|
||||
{
|
||||
if (--var2.stackSize == 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user