v1.0.1: fixed fire and freezing not breaking items

This commit is contained in:
Evan Debenham 2021-08-23 19:02:04 -04:00
parent 209f717fa8
commit 1a06a42ab9
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ public class Burning extends Buff implements Hero.Doom {
ArrayList<Item> burnable = new ArrayList<>();
//does not reach inside of containers
if (hero.buff(LostInventory.class) != null) {
if (hero.buff(LostInventory.class) == null) {
for (Item i : hero.belongings.backpack.items) {
if (!i.unique && (i instanceof Scroll || i instanceof MysteryMeat || i instanceof FrozenCarpaccio)) {
burnable.add(i);

View File

@ -61,7 +61,7 @@ public class Frost extends FlavourBuff {
Hero hero = (Hero)target;
ArrayList<Item> freezable = new ArrayList<>();
//does not reach inside of containers
if (hero.buff(LostInventory.class) != null) {
if (hero.buff(LostInventory.class) == null) {
for (Item i : hero.belongings.backpack.items) {
if (!i.unique && (i instanceof Potion || i instanceof MysteryMeat)) {
freezable.add(i);