i COMPLETELY FORGOR about the block id

This commit is contained in:
ChomeNS
2023-06-10 18:08:08 +07:00
parent 978eba759d
commit 2fb7646bcf
2 changed files with 2 additions and 1 deletions

View File

@@ -150,7 +150,7 @@ public class CorePlugin extends PositionPlugin.Listener {
);
final Session session = bot.session();
session.send(new ServerboundSetCreativeModeSlotPacket(36, new ItemStack(kaboom ? 490 /* repeating command block id */ : 371 /* command block id */, 64, tag)));
session.send(new ServerboundSetCreativeModeSlotPacket(36, new ItemStack(kaboom ? 492 /* repeating command block id */ : 373 /* command block id */, 64, tag)));
session.send(new ServerboundPlayerActionPacket(PlayerAction.START_DIGGING, temporaryBlockPosition, Direction.NORTH, 0));
session.send(new ServerboundUseItemOnPacket(temporaryBlockPosition, Direction.UP, Hand.MAIN_HAND, 0.5f, 0.5f, 0.5f, false, 1));
}