Renaming Items

Discussion in 'Plugin Development' started by legostarwarszach, Jun 3, 2013.

Thread Status:
Not open for further replies.
  1. I tried to rename a snowball a GlassCoin but it looks like the command isn't even excuted. Please help!
    Code: http://pastebin.com/9Z5CPkEu

    Thanks in advance!
     
  2. Offline

    Seadragon91

    Change that:
    Code:
    if(commandLable.equalsIgnoreCase("glasscoins")) if(commandLable.equalsIgnoreCase("gc")){
    to:
    Code:
    if(commandLable.equalsIgnoreCase("glasscoins") || commandLable.equalsIgnoreCase("gc")) {
     
    legostarwarszach likes this.
Thread Status:
Not open for further replies.

Share This Page