Update AdventurePlayer.java

This commit is contained in:
Anthony Calosa
2022-08-13 14:19:52 +08:00
committed by GitHub
parent 9651812b0d
commit ece2fc575f

View File

@@ -447,7 +447,7 @@ public class AdventurePlayer implements Serializable, SaveFileContent {
o.run(); o.run();
} }
public boolean fullHeal() { public boolean heal() {
if (life < maxLife) { if (life < maxLife) {
life = Math.max(maxLife, life); life = Math.max(maxLife, life);
onLifeTotalChangeList.emit(); onLifeTotalChangeList.emit();