diff --git a/src/ServerInterface.java b/src/ServerInterface.java index cc5d8eefe..a693e988c 100644 --- a/src/ServerInterface.java +++ b/src/ServerInterface.java @@ -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;