mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 00:31:54 +00:00
Def cleanup (#585)
* Object definition cleanup * Update ShopAssistant.java * stackables * notables * unused files * more junk * almost done * working * moving old methods to deprecated * update * fixed pickpocket typos * Update Pickpocket.java * Remove redundant method. Fix stall stealing * Documentation for deprecated methods * WIP commit partial removal. Has test and dump classes * Final cleanup * Move definitions from data folder to cfg * Temporarily moving definition loaders to GameEngine This is until loading can be done asynchronously. * Correct indentation.
This commit is contained in:
@@ -42,6 +42,7 @@ import com.rs2.game.globalworldobjects.DoubleGates;
|
||||
import com.rs2.game.globalworldobjects.GateHandler;
|
||||
import com.rs2.game.globalworldobjects.SingleGates;
|
||||
import com.rs2.game.items.*;
|
||||
import com.rs2.game.items.DeprecatedItems;
|
||||
import com.rs2.game.items.impl.Greegree.MonkeyData;
|
||||
import com.rs2.game.items.impl.PotionMixing;
|
||||
import com.rs2.game.items.impl.Teles;
|
||||
@@ -2638,7 +2639,7 @@ public abstract class Player {
|
||||
|
||||
public boolean wearing2h() {
|
||||
Client c = (Client) this;
|
||||
String s = ItemAssistant.getItemName(c.playerEquipment[c.playerWeapon]);
|
||||
String s = DeprecatedItems.getItemName(c.playerEquipment[c.playerWeapon]);
|
||||
if (s.contains("2h")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user