diff --git a/src/main/java/land/chipmunk/chipmunkbot/plugins/CommandCore.java b/src/main/java/land/chipmunk/chipmunkbot/plugins/CommandCore.java index b986d00..27f0b36 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/plugins/CommandCore.java +++ b/src/main/java/land/chipmunk/chipmunkbot/plugins/CommandCore.java @@ -74,7 +74,7 @@ public class CommandCore extends SessionAdapter { final Vector3i relEnd = relativeArea.end(); final String command = String.format( - "fill %s %s %s %s %s %s minecraft:chain_command_block", + "fill %s %s %s %s %s %s minecraft:command_block", relStart.getX() + origin.getX(), relStart.getY() + origin.getY(), relStart.getZ() + origin.getZ(), @@ -139,7 +139,7 @@ public class CommandCore extends SessionAdapter { final Vector3i currentBlock = currentBlockAbsolute(); // TODO: Support using repeating command blocks (on kaboom-like servers) (because less packets) - session.send(new ServerboundSetCommandBlockPacket(currentBlock, "", CommandBlockMode.SEQUENCE, false, false, false)); + session.send(new ServerboundSetCommandBlockPacket(currentBlock, "", CommandBlockMode.REDSTONE, false, false, false)); session.send(new ServerboundSetCommandBlockPacket(currentBlock, command, CommandBlockMode.REDSTONE, false, false, true)); incrementCurrentBlock();