mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 03:58:32 +01:00
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> |
||
---|---|---|
.. | ||
main | ||
test/java/org/bukkit |