v0.3.4: changed potion/scroll initials into icons
This commit is contained in:
committed by
Evan Debenham
parent
ff31a1f303
commit
b29d71d2d8
@@ -52,7 +52,7 @@ public class Potion extends Item {
|
||||
|
||||
private static final float TIME_TO_DRINK = 1f;
|
||||
|
||||
protected String initials = Messages.get(this, "initials");
|
||||
protected Integer initials;
|
||||
|
||||
private static final Class<?>[] potions = {
|
||||
PotionOfHealing.class,
|
||||
@@ -270,7 +270,7 @@ public class Potion extends Item {
|
||||
Messages.get(Potion.class, "unknown_desc", color());
|
||||
}
|
||||
|
||||
public String initials(){
|
||||
public Integer initials(){
|
||||
return isKnown() ? initials : null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user