Fix fruit press interface

This commit is contained in:
mezz committed 2017-02-07 18:34:40 -08:00
1 parent e38b8531da
commit 5310003659
3 files changed
+14 -9

No files matched your search

@@ -244,8 +244,8 @@ public abstract class Window extends TopLevelWidget implements INetwork.RecieveG
return this.player.inventory.getItemStack();
}
@Nullable
public IInventory getInventory() {
Preconditions.checkState(this.entityInventory != null, "This window has no inventory.");
return this.entityInventory;
}