Contents of rock bag destroyed when you go into creative mode
codetaylor opened this issue ยท 5 comments
Damn it, now I can't reproduce the exact steps. I know that this is a known issue with capabilities & creative mode. It might be limited to multiplayer servers? I'm not exactly sure. I know the Quark backpack suffered from this issue, and until I converted them to use NBT, the Roots 3 Staff and Pouch also suffered from the same problem.
@duely Ok, I see what you did with the Pouch: https://github.com/EpicSquid/Roots/blob/master/src/main/java/epicsquid/roots/handler/PouchHandler.java
You're just bypassing the capability system completely and operating directly on the stack's NBT.
I'd love to understand why this happens though and why bypassing the capability system is the solution.
I know the most recent backpack is functioning properly and no longer suffers from a "creative mode randomly deletes your capabilities" issue.