terminal fixes + better formatting

This commit is contained in:
PrototypeTrousers
2023-02-06 18:38:44 -03:00
parent 7f76723da5
commit 854676a33c
3 changed files with 38 additions and 7 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ public class Platform {
if ((type.getType().isItem() && tile == null) || type.hasPermissions(tile, x, y, z, side, p)) {
if (tile == null && type.getType() == GuiHostType.ITEM) {
p.openGui(AppEng.instance(), type.ordinal() << 4, p.getEntityWorld(), x, y, z);
p.openGui(AppEng.instance(), type.ordinal() << 4, p.getEntityWorld(), p.inventory.currentItem, 0, 0);
} else if (tile == null || type.getType() == GuiHostType.ITEM) {
p.openGui(AppEng.instance(), type.ordinal() << 4 | (1 << 3), p.getEntityWorld(), x, y, z);
} else {