Start on the update

This commit is contained in:
modmuss50 2016-11-19 12:50:08 +00:00
parent c8d8ce0241
commit a0e6a2dc34
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
112 changed files with 522 additions and 503 deletions

View file

@ -2,7 +2,7 @@ package techreborn.api.gui;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import reborncore.client.gui.BaseSlot;
import reborncore.client.gui.slots.BaseSlot;
import techreborn.utils.upgrade.IMachineUpgrade;
public class SlotUpgrade extends BaseSlot {

View file

@ -55,7 +55,7 @@ public class RecipeConfigManager {
ConfigItem newItem = new ConfigItem();
newItem.setItemName(stack.getItem().getUnlocalizedName());
newItem.setMeta(stack.getItemDamage());
newItem.setStackSize(stack.stackSize);
newItem.setStackSize(stack.getCount());
newItem.setLocalName(stack.getDisplayName());
return newItem;
}