More Banner Features

More Banner Features

2M Downloads

Data trackers are registered on the wrong classes, causing compatibility issues

Fourmisain opened this issue ยท 3 comments

commented

I noticed an incompatibility with Earth2Java where Muddy Pigs cannot be spawned, logging "duplicate id" errors.

This seems to be caused by data trackers of this mod not being registered properly, relevant parts are here:

BANNER = DataTracker.registerData(EndermanEntity.class, TrackedDataHandlerRegistry.ITEM_STACK);

BANNER = DataTracker.registerData(EndermanEntity.class, TrackedDataHandlerRegistry.ITEM_STACK);

BANNER = DataTracker.registerData(EndermanEntity.class, TrackedDataHandlerRegistry.ITEM_STACK);

Correcting the classes seems to fix the issue.

commented

Thanks for reaching out, I'm gonna fix that tomorrow and upload a new verison on Curseforge ^^

commented

Should be fixed with 163b9ec.
Guess I'm gonna update it today, not tomorrow