|
Uhh I didn't get that from a tutorial wrote it myself quickly, and here this might help you, https://docs.oracle.com/javase/tutor...vaOO/enum.html
what does an "orphaned" case mean and why do i get this error? Thanks..
Code:src\server\model\players\packets\ClickItem.java:40: error: orphaned case case 2528: ^ 1 error Press any key to continue . . .
An orphaned case means it is not under a "switch" statement.
Add me on Skype and I can further assist you. Marcusperrin75
EDIT:
add this above your case,
switch(itemId) {
and don't forget to add another } at the end of the last break;
Should look similar to this:
switch(itemId){
case 2528:
break;
case 4447:
break;
case 7498:
break;
}
Confirm button doesn't work. how do I make this work?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |