WrappedBlockData appears to use incorect parameters when invoking CraftMagicNumbers.toLegacyData
Closed this issue ยท 1 comments
This issue is not solved in a development build
It appears to not be ( https://github.com/dmulloy2/ProtocolLib/blob/master/src/main/java/com/comphenix/protocol/wrappers/WrappedBlockData.java#L144 )
Describe the bug
org.bukkit.craftbukkit.util.CraftMagicNumbers#toLegacyData requires a single argument (NMS BlockState), while com.comphenix.protocol.wrappers.WrappedBlockData.NewBlockData#setTypeAndData passes two arguments (Material and block data byte).
Screenshots