Fix #721 Crash when reusing the Habitat Locator

This commit is contained in:
mezz committed 2015-06-14 14:53:39 -07:00
1 parent 763df470a1
commit fb966143f9
12 files changed
+332 -344

No files matched your search

@@ -102,8 +102,8 @@ public class ItemImprinter extends ItemForestry {
secondaryIndex = index;
}
private void tryImprint() {
@Override
public void onSlotClick(EntityPlayer player) {
ItemStack specimen = getStackInSlot(specimenSlot);
if (specimen == null) {
return;
@@ -132,11 +132,6 @@ public class ItemImprinter extends ItemForestry {
setInventorySlotContents(specimenSlot, null);
}
@Override
public void markDirty() {
tryImprint();
}
@Override
public String getInventoryName() {
return "Imprinter";