mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +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) {
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user