v0.6.2: adjusted incorrectly placed text in stone of enchantment

This commit is contained in:
Evan Debenham 2017-10-24 19:25:38 -04:00
parent 2a6c34f1e1
commit 4af0cb4e93

View File

@ -26,6 +26,8 @@ import com.shatteredpixel.shatteredpixeldungeon.effects.Speck;
import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.armor.Armor;
import com.shatteredpixel.shatteredpixeldungeon.items.weapon.Weapon;
import com.shatteredpixel.shatteredpixeldungeon.messages.Languages;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.shatteredpixel.shatteredpixeldungeon.windows.WndBag;
@ -52,7 +54,11 @@ public class StoneOfEnchantment extends InventoryStone {
curUser.sprite.emitter().start( Speck.factory( Speck.LIGHT ), 0.1f, 5 );
Enchanting.show( curUser, item );
GLog.w( "your %s glows in the dark", item.name() );
//FIXME add this to translations
if (Messages.lang() == Languages.ENGLISH) {
GLog.w("your %s glows in the dark", item.name());
}
}
}