v0.9.2a: darts no longer reveal xbow level indirectly
This commit is contained in:
parent
1b24c30cd4
commit
5b8293db53
|
@ -143,7 +143,16 @@ public class Dart extends MissileWeapon {
|
|||
@Override
|
||||
public String info() {
|
||||
updateCrossbow();
|
||||
return super.info();
|
||||
if (bow != null && !bow.isIdentified()){
|
||||
int level = bow.level();
|
||||
//temporarily sets the level of the bow to 0 for IDing purposes
|
||||
bow.level(0);
|
||||
String info = super.info();
|
||||
bow.level(level);
|
||||
return info;
|
||||
} else {
|
||||
return super.info();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user