mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +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:
@@ -131,8 +131,8 @@ public class UseItem {
|
||||
WeaponPoison.execute(player, itemUsed, useWith);
|
||||
player.getGlassBlowing().ItemOnItem(itemUsed, useWith);
|
||||
//CapeDye.execute(c, itemUsed, useWith);
|
||||
if (ItemAssistant.getItemName(itemUsed).contains("(")
|
||||
&& ItemAssistant.getItemName(useWith).contains("(")) {
|
||||
if (DeprecatedItems.getItemName(itemUsed).contains("(")
|
||||
&& DeprecatedItems.getItemName(useWith).contains("(")) {
|
||||
player.getPotMixing().mixPotion2(itemUsed, useWith);
|
||||
}
|
||||
BattleStaffs.makeBattleStaff(player, itemUsed, useWith);
|
||||
|
||||
Reference in New Issue
Block a user