geforkt von Mirrors/FastAsyncWorldEdit
Use correct method and mask to set blocks.
Dieser Commit ist enthalten in:
Ursprung
0d52d22bd8
Commit
6c35d20306
@ -253,14 +253,12 @@ public class DefaultNmsBlock extends NmsBlock {
|
||||
// TileEntity te = craftWorld.getHandle().getTileEntity(x, y, z);
|
||||
// craftWorld.getHandle().tileEntityList.remove(te);
|
||||
|
||||
boolean changed = craftWorld.getHandle().setRawTypeId(x, y, z, block.getId());
|
||||
boolean changed = craftWorld.getHandle().setTypeIdAndData(x, y, z, block.getId(), block.getData(), 0);
|
||||
|
||||
if (block instanceof BaseBlock) {
|
||||
world.copyToWorld(position, (BaseBlock) block);
|
||||
}
|
||||
|
||||
changed = craftWorld.getHandle().setData(x, y, z, block.getData(), 2) || changed;
|
||||
|
||||
if (changed) {
|
||||
if (notifyAdjacent) {
|
||||
craftWorld.getHandle().update(x, y, z, block.getId());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren