Coder Social home page Coder Social logo

Comments (4)

PeachesMLG avatar PeachesMLG commented on July 19, 2024

Bit of extra info, we call this method here:

    @Override
    public List<Placeholder> getPlaceholders(Optional<Island> optional) {
        return optional.isPresent() ? getPlaceholders(optional.get()) : defaultPlaceholders;
    }

Which then calls two different methods, one with an Island, and the other for if there is no island present. Which means we have two lists to maintain, and these two lists have differences in them now which is the issue.

So if you have a PAPI plugin (e.g. a scoreboard) a placeholder e.g. island_enhancement_size_level would work if I have an island, however if I dont have an island, instead of showing N/A it wont process anything and will stay as %iridiumskyblock_island_enhancement_size_level

from iridiumskyblock.

PeachesMLG avatar PeachesMLG commented on July 19, 2024

(Also, make sure there are no duplicated Placeholders in this list, e.g. island_visitors, also extra bonus brownie points for how we can prevent this, again maybe unit tests?)

from iridiumskyblock.

RasulbekHak1mov avatar RasulbekHak1mov commented on July 19, 2024

i want to add the command "/is go" to my server, if it type the command it should go to the island, if the island doesn't exist then the island should be created

Can you help me

from iridiumskyblock.

sh0inx avatar sh0inx commented on July 19, 2024
  1. this is not related to the current issue
  2. if you need help, join our discord server and head to #skyblock, we can help you there
  3. if you do not want to use discord, create a NEW issue and follow the issue guidelines

from iridiumskyblock.

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.