v3.0.0: fixed recall inscription rarely causing crashes
This commit is contained in:
@@ -65,6 +65,7 @@ public class RecallInscription extends ClericSpell {
|
||||
}
|
||||
|
||||
Item item = Reflection.newInstance(hero.buff(UsedItemTracker.class).item);
|
||||
hero.buff(UsedItemTracker.class).detach();
|
||||
|
||||
item.setCurrent(hero);
|
||||
|
||||
@@ -84,7 +85,6 @@ public class RecallInscription extends ClericSpell {
|
||||
}
|
||||
|
||||
onSpellCast(tome, hero);
|
||||
hero.buff(UsedItemTracker.class).detach();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user