Clipboards are incorrectly marked as NBT safe #6543
Labels
status: confirmed
Issue's details are known, it is consistently reproducible, and it needs a fix
type: bug
Issue where something isn't working
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
Item
tag of the clipboard block entity to contain whatever you wantExpected 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
The text was updated successfully, but these errors were encountered: