Improve entity effect API (#11444)

This commit is contained in:
Jake Potrebic
2024-09-28 11:05:45 -07:00
parent 35d43942e2
commit a1cb6c43d2
3 changed files with 292 additions and 1 deletions

View File

@@ -134,7 +134,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ return !Effect.class.getDeclaredField(effect.name()).isAnnotationPresent(Deprecated.class);
+ }
+
+ @SuppressWarnings("deprecation")
+ @Test
+ public void checkAllApiExists() throws ReflectiveOperationException {
+ Map<Integer, Effect> toId = new HashMap<>();