Get the damage source not the field
This commit is contained in:
parent
322deb3d47
commit
f106ab9c19
@ -189,7 +189,7 @@ public class ReflectionManager {
|
||||
|
||||
noDamageTicks = getNmsField("Entity", "noDamageTicks");
|
||||
isInvul = getNmsMethod("Entity", "isInvulnerable", getNmsClass("DamageSource"));
|
||||
genericDamage = getNmsField("DamageSource", "GENERIC");
|
||||
genericDamage = getNmsField("DamageSource", "GENERIC").get(null);
|
||||
|
||||
Method method = getNmsMethod("SoundCategory", "a");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user