Experiencing a problem like this?
Code:
} else if (id == 62674) { // dominion entrance
player.useStairs(-1, new WorldTile(3744, 6405, 0), 0, 1);
} else {
switch (objectDef.name.toLowerCase()) {
case "web":
if (objectDef.containsOption(0, "Slash")) {
player.setNextAnimation(new Animation(PlayerCombat.getWeaponAttackEmote(player.getEquipment().getWeaponId(), player.getCombatDefinitions().getAttackStyle())));
slashWeb(player, object);
}
break;
Tired of being bullied on this error?
Here's the fix!
First download this IDE
Eclipse IDE for Java EE Developers | Eclipse Packages
(See right side for 64 bit or 32 bit or linux..
so when youve got everything ready, import your JDK (must be 7+)
Then go to Window.. Preferences.. then press + on Java
click on compiler
And put the compliance level to 1.7
Here you go..
Ow, and if you want to update your eclipse goto 'Help' and press check for updates
Bye
I hope you all have a terrible time.
PS: Yes i love eclipse, you all should use it.