Clipboards are incorrectly marked as NBT safe
rybot666 opened this issue ยท 0 comments
Describe the Bug
Clipboards are incorrectly marked as NBT-safe, despite copying an item stack blindly from their NBT data. This means that printing a malicious schematic containing a clipboard block can spawn any item once the clipboard is broken.
Reproduction Steps
- Take a schematic of a placed clipboard block
- Open it in an NBT editor
- Modify the
Item
tag of the clipboard block entity to contain whatever you want - Print the schematic with a schematicannon
- Break the placed clipboard
Expected Result
The NBT should be verified to make sure the item is actually a clipboard.
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.1f
Minecraft Version
1.20.1
Forge Version
36.2.0
Other Mods
No response
Additional Context
No response