Fix numbering
Dieser Commit ist enthalten in:
Ursprung
3082797a5e
Commit
0e8638fcdd
@ -47,9 +47,9 @@ public class Region_15 {
|
||||
BaseBlock fullBlock = clipboard.getFullBlock(BlockVector3.at(X, Y, Z).subtract(v).add(clipboard.getRegion().getMinimumPoint()));
|
||||
Material replaceTo = BukkitAdapter.adapt(fullBlock.getBlockType());
|
||||
if(replaceTo == null)
|
||||
world.setTypeAndData(blockPos, ((CraftBlockData)Material.AIR.createBlockData()).getState(), 1024);
|
||||
world.setTypeAndData(blockPos, ((CraftBlockData)Material.AIR.createBlockData()).getState(), 1042);
|
||||
else
|
||||
world.setTypeAndData(new BlockPosition(X, Y, Z), ((CraftBlockData)replaceTo.createBlockData()).getState(), 1024);
|
||||
world.setTypeAndData(new BlockPosition(X, Y, Z), ((CraftBlockData)replaceTo.createBlockData()).getState(), 1042);
|
||||
world.getChunkProvider().flagDirty(blockPos);
|
||||
//world.getChunkProvider().getLightEngine().a(blockPos); //TODO: Fix lightning issues without preventing shutdown
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren