Code:
src\server\model\players\packets\ClickItem.java:263: reached end of file while parsing
}→
^
1 error
Press any key to continue . . .
I looked in the compiling errors page, and did not see this one, how do i fix it? the code I tried to add was
Code:
if (itemId == 15098) { //Dice Bag ID
for (int j = 0; j < Server.playerHandler.players.length; j++) {
if (Server.playerHandler.players[j] != null) {
Client c2 = (Client)Server.playerHandler.players[j];
if (System.currentTimeMillis() - c.diceDelay >= 5000) {
c2.sendMessage("" +c.playerName+" has rolled a "+ Misc.random(100) +" with their dice!");
c.startAnimation(11900);
c.gfx0(2075);
}
}
}
}
This is [PI] 60% Dicing made by Kickyamom
I added it to the very bottom of the clickitem.java, and that is the only error, any fixes?
Thanks!