Fix #1010 Automatically sync breeding trackers to client

This commit is contained in:
mezz committed 2015-12-12 17:27:18 -08:00
1 parent a8c84cfcf9
commit d0c8c92863
19 files changed
+62 -35

No files matched your search

@@ -13,7 +13,6 @@ package forestry.apiculture.items;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import forestry.api.apiculture.BeeManager;
import forestry.api.core.Tabs;
import forestry.apiculture.gui.ContainerImprinter;
import forestry.apiculture.gui.GuiImprinter;
@@ -32,7 +31,6 @@ public class ItemImprinter extends ItemWithGui {
@Override
public Object getContainer(EntityPlayer player, ItemStack heldItem, int data) {
BeeManager.beeRoot.syncBreedingTrackerToPlayer(player);
return new ContainerImprinter(player.inventory, new ItemInventoryImprinter(player, heldItem));
}
}