3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00

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

Dieser Commit ist enthalten in:
sk89q 2010-10-23 09:10:10 -07:00
Ursprung eebe6e1af3
Commit cdfd4b81fa

Datei anzeigen

@ -118,11 +118,11 @@ public class EditSession {
if (block.getID() != 0) { if (block.getID() != 0) {
// Changes in block data don't take effect if the block type doesn't // Changes in block data don't take effect if the block type doesn't
// change, so here's a hack! // change, so here's a hack!
if (!result) { /*if (!result) {
server.setBlockType(pt, 0); server.setBlockType(pt, 0);
result = server.setBlockType(pt, block.getID()); result = server.setBlockType(pt, block.getID());
} }
server.setBlockData(pt, block.getData()); server.setBlockData(pt, block.getData());*/
// Signs // Signs
if (block instanceof SignBlock) { if (block instanceof SignBlock) {