Snowballs not coming out

Discussion in 'Plugin Development' started by BrushPainter, Mar 6, 2014.

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

    97WaterPolo

    BrushPainter
    I find that ironic, I am searching the EXACT same thing right now. I haven't been able to find any ways besides getting the world the player is in and checking to see if it matches the one in the config. Hopefully someone else can help us.
     
  2. Offline

    BrushPainter

    97waterpolo Haha, yeah I might make a thread for it, I just don't want people to get mad at me for posting too much. :(
     
  3. Offline

    timtower Administrator Administrator Moderator

    97waterpolo BrushPainter You need to make an if statement at the beginning of the event:
    if(!worlds.contains(event.getPlayer().getWorld().name()))return;
    worlds is a list of strings that you can define in the config
     
  4. Offline

    BrushPainter

    timtower Thanks a lot man! I'll try it now. :D
     
    timtower likes this.
Thread Status:
Not open for further replies.

Share This Page