mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-16 17:16:11 +00:00
Removed the check that allowed changing data. This caused torches, chests, etc. to drop as items.
This commit is contained in:
parent
eebe6e1af3
commit
cdfd4b81fa
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user