Error in parsing dimension in suggested tp command
CommandLeo opened this issue ยท 1 comments
Description
Dimension isn't parsed correctly when a tp command is suggested by a logger.
Related code:
Carpet-TIS-Addition/src/main/java/carpettisaddition/utils/Messenger.java
Lines 138 to 146 in 96094ef
Steps to reproduce
- Turn on item (creation) logging with
/log item create
- Drop an item
- Click on the coordinates
A command should pop up in chat
Expected Result
The suggested command looks like this: /execute in minecraft:overworld run tp 176.0698523481682 16.602718537233475 714.2538320022973
Actual Result
The dimension is parsed incorrectly and the command looks like this: /execute in ResourceKey[minecraft:dimension / minecraft:overworld] run tp 176.0698523481682 16.602718537233475 714.2538320022973