-
-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triageThis label is automatically applied to new issues and pull requests to indicate they require triagetype: bugSomething isn't workingSomething isn't working
Description
Affected Product(s)
SpongeVanilla
Version
1.21.4-14.0.0-RC2272
Operating System
Windows
Java Version
21.0.5
Plugins/Mods
NoneDescribe the bug
When a cat/ocelot attack a rabbit, a PhaseState exception is thrown.
It seems that the method resolvePlayerResponsibleForDamage in LivingEntity modified by the mixin LivingEntityMixin_Vanilla_Damage contains a cast to Wolf:
Class var10001 = this.constant$bdf000$damage$onWolfCast($$1, Wolf.class);
if (var10001 == null) {
throw new NullPointerException("@ModifyConstant instanceof handler net/minecraft/world/entity/LivingEntity::damage$onWolfCast returned null for class type");
} else {
if ($$1 != null ? var10001.isAssignableFrom($$1.getClass()) : false) {
Wolf $$3 = (Wolf)$$1;
...Link to logs
https://gist.github.com/AlexandreArcil/50e48b3232217dee34f24d0579dc6d20
Metadata
Metadata
Assignees
Labels
status: needs triageThis label is automatically applied to new issues and pull requests to indicate they require triageThis label is automatically applied to new issues and pull requests to indicate they require triagetype: bugSomething isn't workingSomething isn't working