remove debug lines

This commit is contained in:
Chayapak 2024-10-07 12:23:29 +07:00
parent f1c98135a2
commit 361ad45ca0

View file

@ -250,8 +250,6 @@ public class CorePlugin extends PositionPlugin.Listener {
public void runPlaceBlock (String command) {
if (!ready || !bot.options.useCore) return;
// final NbtMapBuilder tagBuilder = NbtMap.builder();
final NbtMapBuilder blockEntityTagBuilder = NbtMap.builder();
blockEntityTagBuilder.putString("id", "minecraft:command_block");
@ -262,16 +260,10 @@ public class CorePlugin extends PositionPlugin.Listener {
final NbtMap blockEntityTag = blockEntityTagBuilder.build();
// tagBuilder.putCompound("BlockEntityTag", blockEntityTag);
// final NbtMap tag = tagBuilder.build();
final Map<DataComponentType<?>, DataComponent<?, ?>> map = new HashMap<>();
map.put(DataComponentType.BLOCK_ENTITY_DATA, DataComponentType.BLOCK_ENTITY_DATA.getDataComponentFactory().create(DataComponentType.BLOCK_ENTITY_DATA, blockEntityTag));
// map.put(DataComponentType.BLOCK_ENTITY_DATA, DataComponentType.BLOCK_ENTITY_DATA.getDataComponentFactory().create(DataComponentType.BLOCK_ENTITY_DATA, tag));
final DataComponents dataComponents = new DataComponents(map);
final Vector3i temporaryBlockPosition = Vector3i.from(