Comments (7)
I will have a look soon
from simplixstorage.
I tried printing FLATFILE.getFileData().toMap().toString() to console after creating a new shop - this just resulted in the file being printed out without the new shop. Upon reload, the correct file was printed.
from simplixstorage.
Hi 414Eff,
thank you for reporting this!
Can you tell me which line exactly is not working, please?
Direct fix: (Until the next release)
Just use forceReload()
Regards,
- Leonhard
from simplixstorage.
Specifically, it's this line:
[24] return Bukkit.getOfflinePlayer(UUID.fromString(shops.getString(name + ".info.owner"))).getName();
from simplixstorage.
I have done extensive testing & cant reproduce the issue.
from simplixstorage.
Anything new?
from simplixstorage.
Oh, sorry - I could have sworn that I saw a comment saying you had found the issue earlier...
I'm not too sure - the plugin that I was having this issue with is currently being rewritten. I can't see why one json file would work and the other wouldn't, so perhaps it was my own error (though I did print the file to console as you suggested and it showed the outdated file before reloading).
I think it would be safe to close the issue, and I can either reopen this issue, or open a new issue, if the problem occurs again.
from simplixstorage.
Related Issues (20)
- Jar download HOT 2
- Use of custom serialization objects HOT 2
- Unsupported class file major version 60 when compiling in java 16 HOT 1
- Toml comments are not preserved HOT 2
- Error when using the reload callback HOT 2
- Add Toml comment preservation and header methods HOT 4
- HOCON config support HOT 2
- Config(yaml) has broken edit with UTF-8 Characters HOT 3
- Split code base into modules HOT 1
- Comments dissappear when adding defaults. HOT 2
- Supporting comments and preserving comments in a file TOML HOT 1
- Wiki is outdated HOT 1
- Discord invite invalid HOT 1
- Latest release shows wrong version in maven HOT 1
- Need some help HOT 2
- Rethrow exceptions HOT 1
- Yaml#addDefaultsFromInputStream messes the order of keys even if the DataType is sorted
- Does not generate files
- Dot in key create problem with FlatFile HOT 1
- Request for future updates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplixstorage.