v0.8.2c: fixed mage's staff missing enchant names
This commit is contained in:
parent
39c5da6061
commit
8e752aceef
|
@ -266,7 +266,8 @@ public class MagesStaff extends MeleeWeapon {
|
|||
if (wand == null) {
|
||||
return super.name();
|
||||
} else {
|
||||
return Messages.get(wand, "staff_name");
|
||||
String name = Messages.get(wand, "staff_name");
|
||||
return enchantment != null && (cursedKnown || !enchantment.curse()) ? enchantment.name( name ) : name;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user