From 62086adc4aa9bb0106f5048d827c50cebaaadc79 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 25 Dec 2015 02:23:38 -0500 Subject: [PATCH] v0.3.3a: improved sandals of nature's use of name --- .../shatteredpixeldungeon/items/artifacts/SandalsOfNature.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java index ccd390605..1e9e9e6f4 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/SandalsOfNature.java @@ -177,14 +177,13 @@ public class SandalsOfNature extends Artifact { @Override public void storeInBundle( Bundle bundle ) { super.storeInBundle(bundle); - bundle.put(NAME, name); bundle.put(SEEDS, seeds.toArray(new String[seeds.size()])); } @Override public void restoreFromBundle( Bundle bundle ) { super.restoreFromBundle(bundle); - name = bundle.getString( NAME ); + name = NAMES[level()+1]; if (bundle.contains(SEEDS)) Collections.addAll(seeds , bundle.getStringArray(SEEDS)); }