Fix Inventory Tweaks woes (#2447)
This commit is contained in:
@@ -57,7 +57,17 @@ public abstract class ContainerBase extends Container {
|
||||
}
|
||||
|
||||
protected void addPlayerInventory(int xInventory, int yInventory) {
|
||||
int id = 0;
|
||||
int id = 9;
|
||||
|
||||
for (int y = 0; y < 3; y++) {
|
||||
for (int x = 0; x < 9; x++) {
|
||||
addSlotToContainer(new Slot(player.inventory, id, xInventory + x * 18, yInventory + y * 18));
|
||||
|
||||
id++;
|
||||
}
|
||||
}
|
||||
|
||||
id = 0;
|
||||
|
||||
for (int i = 0; i < 9; i++) {
|
||||
int x = xInventory + i * 18;
|
||||
@@ -71,14 +81,6 @@ public abstract class ContainerBase extends Container {
|
||||
|
||||
id++;
|
||||
}
|
||||
|
||||
for (int y = 0; y < 3; y++) {
|
||||
for (int x = 0; x < 9; x++) {
|
||||
addSlotToContainer(new Slot(player.inventory, id, xInventory + x * 18, yInventory + y * 18));
|
||||
|
||||
id++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public List<SlotFilterFluid> getFluidSlots() {
|
||||
|
||||
Reference in New Issue
Block a user