Bugfixes / Fixed #1680

This commit is contained in:
Anuken
2020-03-06 17:06:21 -05:00
parent ae0b84cef0
commit 7655b65363
7 changed files with 52 additions and 23 deletions
@@ -34,6 +34,10 @@ public class BlockInventoryFragment extends Fragment{
private boolean holding;
private Item lastItem;
{
Events.on(WorldLoadEvent.class, e -> hide());
}
@Remote(called = Loc.server, targets = Loc.both, forward = true)
public static void requestItem(Playerc player, Tilec tile, Item item, int amount){
if(player == null || tile == null || !tile.interactable(player.team())) return;
@@ -87,7 +91,6 @@ public class BlockInventoryFragment extends Fragment{
}
private void rebuild(boolean actions){
IntSet container = new IntSet();
table.clearChildren();