|
I added a code in my commands.java now it says enum expected. It said line 601 i went there did it same thign1?!?
if (playerCommand.startsWith("redeem")) {
if (c.inWild())
return;
for (int j = 0; j < c.playerEquipment.length; j++) {
//5+ = Reward if (c.cStreak > 4) {
c.sendMessage("Congratulations You Have Redeemed Your Kill Streak Reward.");
//Reward Item c.getItems().addItem(995, 10000);
c.Streak = 0;
return;
}
}
try {
//Under 5 = No Reward int cStreak = 0;
c.sendMessage("Your Kill Streak Isn't High Enough For Reward.");
} catch (Exception e){}
}
}
}
}
}
}
}
}
-- Added the ::redeem under my :layers command
Remove a bracket.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |