Wtf you broke my compiler, pls tell me where the error is from ???
Code you provided is wrong on so many levels roflCode:case "cyclegfx": final int gfx1; final int gfx2; String usageMessageGFX = "::cyclegfx # - #"; if (parser.hasNext()) { gfx1 = Integer.parseInt(parser.nextString()); if (parser.hasNext()) { gfx2 = Integer.parseInt(parser.nextString()); } else { player.send(new SendMessage(usageMessageGFX)); return false; } } else { player.send(new SendMessage(usageMessageGFX)); return false; } player.send(new SendMessage("Cycling GFX")); TaskQueue.queue(new Task(2) { int gfx = gfx1; public void execute() { player.getUpdateFlags().sendGraphic(new Graphic(gfx)); player.send(new SendMessage("GFX " + gfx)); if(gfx == gfx2) stop(); gfx++; } public void onStop() { }); return true;