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
..
2017-05-14 12:00:00 +10:00
2020-06-25 13:19:24 +10:00
2020-11-03 18:15:08 +11:00
2020-08-12 07:00:00 +10:00
2020-10-17 17:43:03 +11:00
2019-04-23 14:54:36 +10:00
2020-06-25 10:00:00 +10:00
2020-11-03 07:00:00 +11:00
2020-11-03 07:00:00 +11:00
2020-08-12 10:50:20 +10:00
2020-04-14 12:34:43 +10:00
2020-09-25 17:09:59 +10:00
2020-06-25 10:00:00 +10:00
2020-06-27 09:05:09 +10:00
2020-04-14 12:34:43 +10:00
2020-06-26 10:49:28 +10:00
2019-05-07 09:22:45 +10:00
2020-08-12 07:00:00 +10:00
2020-04-14 12:34:43 +10:00
2020-06-28 08:58:26 +10:00
2020-09-14 19:39:43 +10:00
2020-11-03 07:00:00 +11:00
2018-08-26 12:00:00 +10:00
2020-10-17 17:37:49 +11:00
2020-08-12 10:50:20 +10:00
2019-07-08 12:34:15 +10:00
2020-05-26 19:34:39 +10:00
2016-03-01 08:32:46 +11:00
2020-04-14 12:34:43 +10:00
2020-02-09 10:31:07 +11:00
2019-04-23 14:54:36 +10:00
2019-04-23 14:54:36 +10:00
2020-10-11 10:23:10 +11:00
2020-06-25 10:00:00 +10:00
2020-06-25 10:00:00 +10:00
2019-04-23 14:54:36 +10:00
2020-04-14 12:34:43 +10:00
2020-04-14 12:34:43 +10:00
2020-09-14 19:39:43 +10:00
2020-08-12 07:00:00 +10:00
2020-06-25 10:00:00 +10:00
2020-08-18 17:54:36 +10:00
2019-04-23 14:00:30 +10:00
2020-11-03 07:00:00 +11:00
2012-12-17 01:31:41 -06:00