Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
89273ee73f
Commit
8a8d8888c8
@ -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());
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren