调整耐力小号和恢复逻辑
This commit is contained in:
parent
5b60e9402c
commit
fec470315b
1 changed files with 3 additions and 2 deletions
|
@ -299,9 +299,10 @@ public class ClientEventHandler {
|
||||||
|
|
||||||
// 耐力
|
// 耐力
|
||||||
public static void staminaSystem() {
|
public static void staminaSystem() {
|
||||||
if (notInGame()) return;
|
Minecraft mc = Minecraft.getInstance();
|
||||||
|
if (mc.isPaused()) return;
|
||||||
|
|
||||||
LocalPlayer player = Minecraft.getInstance().player;
|
LocalPlayer player = mc.player;
|
||||||
if (player == null) {
|
if (player == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue