diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/Panzern.java b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/Panzern.java index 81740e55..0c168cc4 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/Panzern.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/panzern/Panzern.java @@ -119,20 +119,20 @@ public class Panzern { return; case SLAB: currentBlock.setType(slabMaterial); - editSession.getChangeSet().add(new BlockChange(BukkitAdapter.asBlockVector(currentBlock.getLocation()), airType, slabType)); + editSession.setBlock(BukkitAdapter.asBlockVector(currentBlock.getLocation()), slabType); break; case BLOCK: case DEFAULT: currentBlock.setType(blockMaterial); - editSession.getChangeSet().add(new BlockChange(BukkitAdapter.asBlockVector(currentBlock.getLocation()), airType, blockType)); + editSession.setBlock(BukkitAdapter.asBlockVector(currentBlock.getLocation()), blockType); break; case UNMOVABLE: currentBlock.setType(Material.JUKEBOX); - editSession.getChangeSet().add(new BlockChange(BukkitAdapter.asBlockVector(currentBlock.getLocation()), airType, jukeboxType)); + editSession.setBlock(BukkitAdapter.asBlockVector(currentBlock.getLocation()), jukeboxType); break; case UNMOVABLE_SLAB: currentBlock.setType(Material.COBWEB); - editSession.getChangeSet().add(new BlockChange(BukkitAdapter.asBlockVector(currentBlock.getLocation()), airType, cobwebType)); + editSession.setBlock(BukkitAdapter.asBlockVector(currentBlock.getLocation()), cobwebType); break; default: emptyBlocks.add(currentBlock.getLocation().toVector());