Post me your code around line 284 from your Items.java
|
fixed msot of my errors got still on eleft this one i don't really know what it meanshelp me and i rep you.\palidino76\rs2\world\items\Items.java:284: unreachable statement
if (itemId < 0 || itemId >= maxListedItems) {
^
1 error
Druk op een toets om door te gaan. . .
here it is maxi/**
* Returns if the itemId is noted.
*/
public boolean noted(int itemId) {
return new BankUtils().isNote(itemId);
if (itemId < 0 || itemId >= maxListedItems) {
return false;
}
if (itemLists[itemId] != null) {
return (itemLists[itemId].itemIsNote);
}
return false;
}
/**
* Returns the name of itemId.
*/
public String getItemName(int itemId) {
if (itemId == -1 || itemId >= maxListedItems) {
return new String("Unarmed");
}
if (itemLists[itemId] != null) {
return (itemLists[itemId].itemName);
}
return new String("Item " + itemId);
}
---------- Post added at 07:44 PM ---------- Previous post was at 07:20 PM ----------
plz help me!
plz help me if i start 525 it says sesion closed
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |