do somthing with your imports(basic java knowledge needed)
|
|

change the imports and package on bankutils

u meen dis ?
![]()

yesall u gotta do is copy and paste on here u dont need pic lol
package Bulby.players.items;
import java.util.LinkedList;
import bulby.Engine;
import bulby.world.items.ItemList;
import bulby.world.items.Items;
/**
*
* @author Gravediggah, Edited by Axed
*/
public class BankUtils {
public BankUtils() {
}
public boolean isNote(int itemId) {
String description = Engine.items.getItemDescription(itemId);
return description.toLowerCase().startsWith("swap");
}
public boolean canBeNoted(int itemId) {
return (findNote(itemId)>-1);
}
public int findNote(int itemId) {
for(ItemList i : Engine.items.itemLists) {
if (i !=null) {
if (i.itemDescription.toLowerCase().startsWith("swap" ) &&
i.itemName.equals(Engine.items.getItemName(itemId) )) {
return i.itemId;
}
}
}
return -1;
}
public int findUnNote(int itemId) {
for(ItemList i : Engine.items.itemLists) {
if (i !=null) {
if (!i.itemDescription.toLowerCase().startsWith("swap ") &&
i.itemName.equals(Engine.items.getItemName(itemId) )) {
return i.itemId;
}
}
}
return -1;
}
}
You gota put it in the right folder and make sure you save as .java not .JAVA.
Should be in folder, Bulby ->Players-> Items

change
the lowercase b's to B's on the imports.
| « [RS2HD] Registering events | error » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |