[BUG] Loot table only declared once, throws an error "already declared"
amqndin opened this issue · 4 comments
Describe the bug
"whip" loot table was only declared once but an error of duplicate declaration appears. this error can also be fixed if you import with a full path all the way from C: to project folder's subfolder.
To Reproduce
[Steps to reproduce the behavior]
- Download .zip
- Download beet, jmc-beet, and zip i attached in here
- drag the folder out of the archive
- open the root folder in terminal
- run 'beet' command in terminal
Expected behavior
To run and compile smoothly without any error messages.
Desktop
- OS Windows 10
Additional context
i use latest unreleased JMC build from github, i compile all my code in beet environment, i use python 3.12 (but that bug first happened when i still was on 3.11).
ZIP ARCHIVE bug bug bug.zip
Is this specifically a jmc-beet issue? Or can it be replicated without beet?
thats the thing, i dont know. but it has something to do with the path since if i type the import path all the way from c drive it will work fine and if i write the import path relative to project's folder it will break
Turns out, this bug is actually a duplicate of #41.
The reason you are having this problem is because you did import "data/amandin/jmc/backend/*";
. Changing it to import "data/amandin/jmc/backend/ddd";
or import "data/amandin/jmc/backend/jjj";
fixes the problem because then it means the loot table is only imported once and not twice.
Fixed in d0a1475