Fix #229 Server crash when opening mailtrader GUI

This commit is contained in:
mezz committed 2014-09-25 02:43:33 -07:00
1 parent b2feb8b4c4
commit 6c6cce6957
1 file changed
+5
@@ -10,6 +10,7 @@
******************************************************************************/
package forestry.mail.gui;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.init.Items;
import net.minecraft.inventory.IInventory;
@@ -78,4 +79,8 @@ public class ContainerTrader extends ContainerForestry {
return machine.getAddress();
}
@Override
public boolean canInteractWith(EntityPlayer entityplayer) {
return true;
}
}