v2.5.0: fixed inventory stones not counting in catalogs in some cases
This commit is contained in:
@@ -62,7 +62,7 @@ public class StoneOfAugmentation extends InventoryStone {
|
||||
useAnimation();
|
||||
ScrollOfUpgrade.upgrade(curUser);
|
||||
curItem.detach( curUser.belongings.backpack );
|
||||
|
||||
Catalog.countUse(getClass());
|
||||
}
|
||||
|
||||
public void apply( Armor armor, Armor.Augment augment ) {
|
||||
|
||||
@@ -114,7 +114,7 @@ public class StoneOfIntuition extends InventoryStone {
|
||||
protected void onClick() {
|
||||
super.onClick();
|
||||
useAnimation();
|
||||
Catalog.countUse(getClass());
|
||||
Catalog.countUse(StoneOfIntuition.class);
|
||||
if (item.getClass() == curGuess){
|
||||
if (item instanceof Ring){
|
||||
((Ring) item).setKnown();
|
||||
|
||||
Reference in New Issue
Block a user