geforkt von Mirrors/FastAsyncWorldEdit
ServerInterface.clearChest() now clears using Chest.clearContents().
Dieser Commit ist enthalten in:
Ursprung
67b46a9f27
Commit
efb4a7b52f
@ -198,13 +198,7 @@ public class ServerInterface {
|
||||
}
|
||||
|
||||
Chest chest = (Chest)cblock;
|
||||
hl[] itemArray = chest.getArray();
|
||||
|
||||
// Find an existing slot to put it into
|
||||
for (int i = 0; itemArray.length > i; i++) {
|
||||
itemArray[i] = null;
|
||||
}
|
||||
|
||||
chest.clearContents();
|
||||
chest.update();
|
||||
|
||||
return true;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren