Closed Linguardium closed 6 months ago
https://github.com/amot-dev/endshards/blob/b8d5bfcd04eba484efcddf0b756692f69ba5f867/src/main/java/dev/amot/endshards/mixin/ThrallMixin.java#L101
if thrallOwnerUUID is null (which it is by default) this will crash. Best to use Util.NIL_UUID which is a uuid of all 0s, then check against that.
To be honest, rereading my code there I'm not even sure why I'm not immediately checking if the mob is a thrall. Either way, that whole class needs reworking.
https://github.com/amot-dev/endshards/blob/b8d5bfcd04eba484efcddf0b756692f69ba5f867/src/main/java/dev/amot/endshards/mixin/ThrallMixin.java#L101
if thrallOwnerUUID is null (which it is by default) this will crash. Best to use Util.NIL_UUID which is a uuid of all 0s, then check against that.