重生时重置冲刺时间
This commit is contained in:
parent
b5893e1f86
commit
9b781a078a
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ public class PlayerEventHandler {
|
||||||
player.getCapability(ModVariables.PLAYER_VARIABLES_CAPABILITY, null).ifPresent(capability -> {
|
player.getCapability(ModVariables.PLAYER_VARIABLES_CAPABILITY, null).ifPresent(capability -> {
|
||||||
capability.zoom = false;
|
capability.zoom = false;
|
||||||
capability.zooming = false;
|
capability.zooming = false;
|
||||||
|
capability.tacticalSprintExhaustion = false;
|
||||||
|
capability.tacticalSprintTime = 600;
|
||||||
capability.syncPlayerVariables(player);
|
capability.syncPlayerVariables(player);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue