When using Java 16, this plugin throw following exception:
java.lang.NoSuchFieldException: modifiers
at java.base/java.lang.Class.getDeclaredField(Class.java:2549)
at org.golde.bukkit.corpsereborn.nms.nmsclasses.NMSCorpses_v1_16_R3.getNextEntityIdAtomic(NMSCorpses_v1_16_R3.java:244)
at org.golde.bukkit.corpsereborn.nms.nmsclasses.NMSCorpses_v1_16_R3.getNextEntityId(NMSCorpses_v1_16_R3.java:234)
at org.golde.bukkit.corpsereborn.nms.nmsclasses.NMSCorpses_v1_16_R3.spawnCorpse(NMSCorpses_v1_16_R3.java:131)
When using Java 16, this plugin throw following exception:
way to fix: https://stackoverflow.com/questions/56039341/get-declared-fields-of-java-lang-reflect-fields-in-jdk12