Solved Help with adding Custom item to a custom recipe.

Discussion in 'Plugin Development' started by JackJupper, May 2, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    PhantomUnicorns

    @Horsey He means that it does not work the way he wants it to. We have already posted a solution btw but the oc has yet to replay to it.
     
  2. Offline

    JackJupper

    I tried seeing if this worked and it didn't seem like it needed too much tweaks but I get these errors.

    [​IMG]
    https://gyazo.com/b2ae2c31c710c5e10da178020c9a6104
     
  3. Offline

    Zombie_Striker

    @JackJupper
    1. Why are you still on 1.10? There is no reason to stay on older updates. You should update to 1.11.
    2. It is saying you are using the symbol '90', which should not be possible (you should only be able to input only one character).
    3. It is saying the problem is being caused by line 66 in the onEnable. Please post line 66.
     
  4. Offline

    JackJupper

    Because that's the version for the server I'm coding the plugin for, and the owner doesn't want to change it.
    I don't even know that that means.
    This is line 66

    Code:
    Procket.setIngredient('Z', engine);
     
  5. @JackJupper
    Code:
    Symbol does not appear in the shape:90
    90 in the unicode/ascii code of the letter 'Z'.
    In the original post you had the recipe:
    Code:
    Procket.shape("SIS", "RER", "BPB");
    - no Z in there. Either you have to change a character in the recipe so it contains at least one 'Z' or change line 66 (setIngredient) to one of the characters from the recipe.
     
  6. Offline

    JackJupper

    Thanks! That made it work!

    I want to thank everyone who helped me!
     
    Last edited: May 29, 2017
Thread Status:
Not open for further replies.

Share This Page