PaperMC/paper-server/src
CraftBukkit/Spigot 11227b2076 SPIGOT-6205: Rewrite enum to/from NMS type methods
The methods would otherwise cache wrong enum types for specific enums.
This would result in a `ClassCastException` at the caller location,
which obviously is no fun. This broke API with `Switch#getFace` and
`FaceAttachable#getAttachedFace`.

The existing implementation was also stupid.

By: Mariell Hoversholm <proximyst@proximyst.com>
2020-11-03 18:15:08 +11:00
..
main SPIGOT-6205: Rewrite enum to/from NMS type methods 2020-11-03 18:15:08 +11:00
test/java/org/bukkit SPIGOT-6064: world.getBiome() null Error 2020-08-12 10:50:20 +10:00