mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
A few fixes
This commit is contained in:
1 parent
076c5f7377
commit
25cf5236ea
14 files changed
+15
-38
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package mekanism.common.inventory.container;
|
||||
|
||||
import mekanism.common.IUpgradeItem;
|
||||
import mekanism.common.IUpgradeTile;
|
||||
import mekanism.common.inventory.slot.SlotMachineUpgrade;
|
||||
import mekanism.common.item.ItemMachineUpgrade;
|
||||
import mekanism.common.tile.TileEntityContainerBlock;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
@@ -64,7 +64,7 @@ public class ContainerUpgradeManagement extends Container
|
||||
ItemStack slotStack = currentSlot.getStack();
|
||||
stack = slotStack.copy();
|
||||
|
||||
if(slotStack.getItem() instanceof ItemMachineUpgrade)
|
||||
if(slotStack.getItem() instanceof IUpgradeItem)
|
||||
{
|
||||
if(slotID != 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user