From cdfd4b81fa00ba43b8327444c3fdd9e71c91fe0e Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 23 Oct 2010 09:10:10 -0700 Subject: [PATCH] Removed the check that allowed changing data. This caused torches, chests, etc. to drop as items. --- src/EditSession.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EditSession.java b/src/EditSession.java index eba1f3242..570b739de 100644 --- a/src/EditSession.java +++ b/src/EditSession.java @@ -118,11 +118,11 @@ public class EditSession { if (block.getID() != 0) { // Changes in block data don't take effect if the block type doesn't // change, so here's a hack! - if (!result) { + /*if (!result) { server.setBlockType(pt, 0); result = server.setBlockType(pt, block.getID()); } - server.setBlockData(pt, block.getData()); + server.setBlockData(pt, block.getData());*/ // Signs if (block instanceof SignBlock) {