Add a new command "nostamina" (#877)

* Add a new command " nostamina\

* Fix

* Fix 2

* Renamed some names.

* Update zh-CN.json

Fix an existing language expression error.
This commit is contained in:
tiantian520
2022-05-15 07:06:48 +08:00
committed by GitHub
parent 5c3d99800e
commit 5b3c05a9a0
5 changed files with 61 additions and 2 deletions

View File

@@ -121,6 +121,7 @@ public class Player {
private int mainCharacterId;
private boolean godmode;
private boolean stamina;
private boolean moonCard;
private Date moonCardStartTime;
private int moonCardDuration;
@@ -781,7 +782,14 @@ public class Player {
}
this.save();
}
public boolean getStamina() {
// Get Stamina
return stamina;
}
public void setStamina(boolean stamina) {
// Set Stamina
this.stamina = stamina;
}
public boolean inGodmode() {
return godmode;
}