diff --git a/src/main/java/land/chipmunk/chipmunkmod/modules/CommandCore.java b/src/main/java/land/chipmunk/chipmunkmod/modules/CommandCore.java index 404bf42..09c9af5 100644 --- a/src/main/java/land/chipmunk/chipmunkmod/modules/CommandCore.java +++ b/src/main/java/land/chipmunk/chipmunkmod/modules/CommandCore.java @@ -53,7 +53,7 @@ public class CommandCore { final BlockPos 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 command_block", relStart.getX() + origin.getX(), relStart.getY() + origin.getY(), relStart.getZ() + origin.getZ(), @@ -104,7 +104,7 @@ public class CommandCore { final BlockPos currentBlock = currentBlockAbsolute(); // TODO: Support using repeating command blocks (on kaboom-like servers) (because less packets) - connection.send(new UpdateCommandBlockC2SPacket(currentBlock, "", CommandBlockBlockEntity.Type.SEQUENCE, false, false, false)); + connection.send(new UpdateCommandBlockC2SPacket(currentBlock, "", CommandBlockBlockEntity.Type.REDSTONE, false, false, false)); connection.send(new UpdateCommandBlockC2SPacket(currentBlock, command, CommandBlockBlockEntity.Type.REDSTONE, false, false, true)); incrementCurrentBlock();