Added flyer shadows / Fixed block inventory rebuild spawn / Distributor

This commit is contained in:
Anuken
2018-07-09 20:18:50 -04:00
parent dbee30a412
commit d31fbf3b6f
9 changed files with 56 additions and 9 deletions

View File

@@ -10,6 +10,6 @@ public class MobileButton extends ImageButton {
resizeImage(isize);
clicked(listener);
row();
add(text);
add(text).growX().wrap();
}
}

View File

@@ -95,7 +95,8 @@ public class BlockInventoryFragment extends Fragment {
updateTablePosition();
if(tile.block().hasItems) {
for (int i = 0; i < Item.all().size; i++) {
if ((tile.entity.items.has(Item.getByID(i))) == container.contains(i)) {
boolean has = tile.entity.items.has(Item.getByID(i));
if (has != container.contains(i)) {
rebuild(false);
}
}