v0.3.5: big consistency pass on how items handle execution
This commit is contained in:
@@ -79,6 +79,9 @@ public class DewVial extends Item {
|
||||
|
||||
@Override
|
||||
public void execute( final Hero hero, String action ) {
|
||||
|
||||
super.execute( hero, action );
|
||||
|
||||
if (action.equals( AC_DRINK )) {
|
||||
|
||||
if (volume > 0) {
|
||||
@@ -111,10 +114,6 @@ public class DewVial extends Item {
|
||||
GLog.w( Messages.get(this, "empty") );
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
super.execute( hero, action );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user