Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02:00
[Forge] Fix clearing inventories
1.11 no longer uses null in inventories.
Dieser Commit ist enthalten in:
Ursprung
6ad11624bb
Commit
e9419f4280
@ -188,7 +188,7 @@ public class ForgeWorld extends AbstractWorld {
|
||||
IInventory inv = (IInventory) tile;
|
||||
int size = inv.getSizeInventory();
|
||||
for (int i = 0; i < size; i++) {
|
||||
inv.setInventorySlotContents(i, null);
|
||||
inv.setInventorySlotContents(i, ItemStack.EMPTY);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren