Solved What's wrong in this code?

Discussion in 'Plugin Development' started by Pomppujatka, Nov 10, 2013.

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

    Pomppujatka

    Hi, I need some help with my plugin. This plugin is really simple, when player types /Jump the server waits 5 seconds and then the player launches enderpearl
    I have two classes because im going to add some more commands
    Here is my code now
    Main:
    [​IMG]
    Command class "Testi":
    [​IMG]
     
  2. Offline

    MrSparkzz

    Pomppujatka change this on line 42 to this.plugin

    Also line 13 of your main class is unused and unnecessary.
     
  3. Offline

    Pomppujatka

    Thanks so much! <3
     
Thread Status:
Not open for further replies.

Share This Page