CoreProtect

CoreProtect

1M Downloads

missing data in wolf and cat death logs

AbigailBrady opened this issue ยท 1 comments

commented

Testing on our 1.21.1 server that has CoreProtect 23.1 installed and discovered that wolf variants (new to MC 1.20.5) are not serialised.

in EntityDeathListener.java we have

            info.add(BukkitAdapter.ADAPTER.getRegistryKey(cat.getCatType()));

for cats but nothing equivalent for wolves. Also, while looking at this, I realised that it does have this line for dogs:

            info.add(wolf.isSitting());

which is missing in cats, as cats can sit as well. I then confirmed this by killing a sat cat and restoring - it restored unsat.

It might be worth doing a full scan to see if there is anything else that is missing.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.