v0.7.0: fixed a typo, and dropped items being cleared incorrectly

This commit is contained in:
Evan Debenham 2018-10-11 03:09:17 -04:00
parent f733799ee3
commit bdee43bbf2
2 changed files with 3 additions and 3 deletions

View File

@ -655,7 +655,7 @@ public class Dungeon {
for (int i=1; i <= 26; i++) {
//dropped items
ArrayList<Item> items = new ArrayList<Item>();
ArrayList<Item> items = new ArrayList<>();
if (bundle.contains(Messages.format( DROPPED, i )))
for (Bundlable b : bundle.getCollection( Messages.format( DROPPED, i ) ) ) {
items.add( (Item)b );
@ -665,7 +665,7 @@ public class Dungeon {
}
//ported items
items.clear();
items = new ArrayList<>();
if (bundle.contains(Messages.format( PORTED, i )))
for (Bundlable b : bundle.getCollection( Messages.format( PORTED, i ) ) ) {
items.add( (Item)b );

View File

@ -387,7 +387,7 @@ items.bombs.shockbomb.name=shock bomb
items.bombs.shockbomb.desc=This bomb has been modified to unleash a storm of electricity around it when it explodes.
items.bombs.regrowthbomb.name=regrowth bomb
items.bombs.regrowthbomb.desc=This customized bomb will splash life-giving liquid all around it instead of exploding. The area caught in the blast with rapidly sprout grass and plants, and any allies caught in the blast will be healed.
items.bombs.regrowthbomb.desc=This customized bomb will splash life-giving liquid all around it instead of exploding. The area caught in the blast will rapidly sprout grass and plants, and any allies caught in the blast will be healed.
items.bombs.shrapnelbomb.name=shrapnel bomb
items.bombs.shrapnelbomb.desc=This bomb has been modified with scraps of DM-300's metal, which will fragment and fly everywhere when it explodes. You had better hide behind something when using it...