Lightman's Currency

Lightman's Currency

2M Downloads

Tax Collectors disconnect from Bankaccount

shinei01 opened this issue ยท 2 comments

commented

Minecraft Version

1.20.1

Forge/NeoForge Version

47.3.33

Lightman's Currency Version

1.20.1-2.2.4.3d

Environment Type

Dedicated Server (Bug/crash happened while connected to a server or while the dedicated server was booting)

Other relevant Mods

No other mods are relative to this issue

Describe the bug

I guess it's a bug but everytime the owner of a tax Collector is leaving the server and rejoining he needs to connect the tax collector to the bank account again.

To Reproduce

Place a Tax Collector on a server

Connect it to a bank account

leave the server

Rejoin the server

Now it shouldn't be linked to the bank account

Screenshots/Logs/Crash Reports (FILES ONLY)

debug.log
latest.log

commented

It would appear that I made an oversight and forgot to have the Tax Collectors actually load the "linkedToBank" variable from NBT, which means that after leaving/rejoining (or even if you simply weren't the exact player that hit the button) the data isn't loaded from the sync packet, nor is it properly loaded server-side after a server reboot, etc.

I'll make sure that this is fixed in the next build :)

commented

Fixed in v2.2.4.4. Thank you for reporting :)