wip
This commit is contained in:
@@ -241,7 +241,14 @@ public enum GuiBridge implements IGuiHandler {
|
||||
it = player.inventory.getStackInSlot(x);
|
||||
}
|
||||
} else {
|
||||
it = BaublesApi.getBaublesHandler(player).getStackInSlot(x);
|
||||
if (stem) {
|
||||
if (player.openContainer instanceof IInventorySlotAware) {
|
||||
int slot = ((IInventorySlotAware)player.openContainer).getInventorySlot();
|
||||
it = BaublesApi.getBaublesHandler(player).getStackInSlot(slot);
|
||||
}
|
||||
}else {
|
||||
it = BaublesApi.getBaublesHandler(player).getStackInSlot(x);
|
||||
}
|
||||
}
|
||||
final Object myItem = this.getGuiObject(it, player, w, x, y, z);
|
||||
if (myItem != null && ID.CorrectTileOrPart(myItem)) {
|
||||
|
||||
Reference in New Issue
Block a user