forked from chipmunkmc/chipmunkbot
parent
67a6f409af
commit
84853b78c4
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ public class CommandCore extends SessionAdapter {
|
||||||
// client.chat().command(command);
|
// client.chat().command(command);
|
||||||
|
|
||||||
final Session session = client.session();
|
final Session session = client.session();
|
||||||
session.send(new ServerboundSetCreativeModeSlotPacket(45, new ItemStack(371 /* command_block */, 1, itemTag)));
|
session.send(new ServerboundSetCreativeModeSlotPacket(45, new ItemStack(373 /* command_block */, 1, itemTag)));
|
||||||
session.send(new ServerboundPlayerActionPacket(PlayerAction.START_DIGGING, temporaryBlockPosition, Direction.NORTH, 0));
|
session.send(new ServerboundPlayerActionPacket(PlayerAction.START_DIGGING, temporaryBlockPosition, Direction.NORTH, 0));
|
||||||
session.send(new ServerboundUseItemOnPacket(temporaryBlockPosition, Direction.NORTH, Hand.OFF_HAND, 0.5f, 0.5f, 0.5f, false, 0));
|
session.send(new ServerboundUseItemOnPacket(temporaryBlockPosition, Direction.NORTH, Hand.OFF_HAND, 0.5f, 0.5f, 0.5f, false, 0));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue