Removed the check that allowed changing data. This caused torches, chests, etc. to drop as items.

This commit is contained in:
sk89q 2010-10-23 09:10:10 -07:00
parent eebe6e1af3
commit cdfd4b81fa

View File

@ -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) {