BUG: {charTyped event handler}
gtf016 opened this issue · 3 comments
Minecraft Version (1.18.2):
Forge Version (40.1.60):
Lightman's Currency Version (1.1.6.4):
Other Relevant Mods & Version (LC Tech, etc.):
Connection Type (Single-player):
Describe the bug
When I try on item_ Create a persistent trader with a copy of this traders trades & name Create blank transactions multiple times
Caused problems
To Reproduce
Steps to reproduce the behavior:
- Switch to LC management mode./lcadmin toggleadmin
- Put one down Small Item Network Trader and open the trader settings
- Click P button after the following settings
- Open the transaction terminal
- Error after clicking
Expected behavior
You should be able to delete transactions through /lcadmin universaldata delete
Screenshots/Logs/Crash Reports
crash-2022-07-19_01.50.51-client.txt
Additional context
I'm sorry for the inaccurate description of the problem due to language problems.
If you need more detailed data, please contact me.
This appears to be some error caused by the persistent trader not having any trades (which shouldn't be possible as it's set to throw an error when no trades are loaded), but it should be easy enough to add a few fail safes to fix the crash.
As an aside, you cannot delete persistent traders with /lcadmin universaldata delete, as they are not saved in the trading office, but in the persistentTraders.json config file. Instead of deleting them with a command, simply open the persistentTraders.json file with your favorite text editor, and delete the trader that you want to remove, and then just run the /lcreload command in-game.
Also, for additional context, could I have a copy of the persistentTraders.json file in your config/lightmanscurrency folder?