Coder Social home page Coder Social logo

Comments (7)

KotlinFactory avatar KotlinFactory commented on June 6, 2024 1

I will have a look soon

from simplixstorage.

test414EFF avatar test414EFF commented on June 6, 2024

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.

KotlinFactory avatar KotlinFactory commented on June 6, 2024

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.

test414EFF avatar test414EFF commented on June 6, 2024

Specifically, it's this line:
[24] return Bukkit.getOfflinePlayer(UUID.fromString(shops.getString(name + ".info.owner"))).getName();

from simplixstorage.

KotlinFactory avatar KotlinFactory commented on June 6, 2024

I have done extensive testing & cant reproduce the issue.

from simplixstorage.

KotlinFactory avatar KotlinFactory commented on June 6, 2024

Anything new?

from simplixstorage.

test414EFF avatar test414EFF commented on June 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.