InventivetalentDev / ReflectionHelper

API for accessing various classes and their members using reflection. (Specifically for Minecraft)
https://www.spigotmc.org/resources/api-reflectionhelper.19241/
MIT License
36 stars 26 forks source link

Caused by: java.lang.NoSuchFieldException: modifiers #55

Open RemineHD opened 2 years ago

RemineHD commented 2 years ago

[18:04:49 WARN]: Caused by: java.lang.NoSuchFieldException: modifiers

[18:04:49 WARN]: at java.base/java.lang.Class.getDeclaredField(Class.java:2610)

[18:04:49 WARN]: at org.inventivetalent.reflection.util.AccessUtil.setAccessible(AccessUtil.java:21)

[18:04:49 WARN]: at org.inventivetalent.reflection.resolver.FieldResolver.resolveByLastType(FieldResolver.java:147)

[18:04:49 WARN]: at org.inventivetalent.reflection.minecraft.DataWatcher$V1_8.setValue(DataWatcher.java:394)

[18:04:49 WARN]: at org.inventivetalent.reflection.minecraft.DataWatcher.setValue(DataWatcher.java:41)

[18:04:49 WARN]: at org.inventivetalent.reflection.minecraft.DataWatcher.setValue(DataWatcher.java:48)

[18:04:49 WARN]: at es.zaroz.core.BossBar.EntityBossBar.updateDataWatcher(EntityBossBar.java:194)

[18:04:49 WARN]: ... 25 more

PikaMug commented 2 years ago

Also having this issue, Version is v1_8_R3 (10803)