Astral Sorcery

Astral Sorcery

63M Downloads

Mantle of the Stars Octans bloating playerdata

cedmetal opened this issue ยท 1 comments

commented

When wearing a Mantle of the Start attuned with Octans,
the playerdata file seems to start bloating as soon as you enter the water.

I opened the file with NBTExplorer and it seems to stack some generic.knockback.resistance modifiers to the attributes tree. They keep stacking and increasing the playerdata file size to a point where any action updating the file just freezes the server for a moment.

(This is after about 2min in the water with the mantle)
playerdata
playerdatasize

I tested this on a custom profile running only Astral sorcery and Baubles but on my custom modpack I host with All the Mods 3 - remixed it seemed to bloat faster and got my file to 12mo with about 1 200 000 entries in an evening where killing a mob would freeze the server shortly. I also tested other swimming gear like Dark Boots from EnderIO with lily pads or a Ring of Chordata from Botania and they didn't have this issue.

Mod Version: 1.12.2 - 1.10.2
Forge Version: 14.23.5.2808

commented

Reproduced it myself, this line is probably the culprit:

out.put(SharedMonsterAttributes.KNOCKBACK_RESISTANCE.getName(), new AttributeModifier(UUID.fromString("845DB25C-C624-495F-8C9F-60210A958B6B").toString(), 500, 0));

All the attribute entries are like this: random UUID and an unhelpful name that's made from a predefined UUID.
obraz