WasabiThumb / xclaim

A better chunk claiming system for Paper servers
Mozilla Public License 2.0
19 stars 10 forks source link

Hoglin mssing in EntityGroup.isHostile #138

Closed TheosRee closed 3 weeks ago

TheosRee commented 3 weeks ago

Looking at your code and reading EntityGroup#isMonster I noticed that the missing Entities are "just" the few Enemies which does not implement Monster. Looking at that I saw that you miss the Hoglin in your list. I don't know if you want to modify the method to use the Enemy interface instead the Monster or just add the Hoglin to the list.

WasabiThumb commented 3 weeks ago

IIRC Enemy and Hoglin didn't exist when I wrote that code. I could go either way on this, but I'll definitely fix ^_^

WasabiThumb commented 3 weeks ago

Made a commit (394e7ca) but might be a while until I can test

WasabiThumb commented 3 weeks ago

Should be fixed, releasing a new version along other improvements shortly

WasabiThumb commented 2 weeks ago

See 1.14.2