stam ticks
This commit is contained in:
@@ -5905,16 +5905,10 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
// Reset this char's frame time.
|
||||
this.lastUpdateTime = System.currentTimeMillis();
|
||||
this.lastStamUpdateTime = System.currentTimeMillis();
|
||||
//this.updateMovementState();
|
||||
///boolean updateHealth = this.regenerateHealth();
|
||||
//boolean updateMana = this.regenerateMana();
|
||||
//boolean updateStamina = this.regenerateStamina();
|
||||
//boolean consumeStamina = this.consumeStamina();
|
||||
|
||||
if (this.timestamps.get("SyncClient") + 5000L < System.currentTimeMillis()) {
|
||||
//if (updateHealth || updateMana || updateStamina || consumeStamina) {
|
||||
this.syncClient();
|
||||
this.timestamps.put("SyncClient", System.currentTimeMillis());
|
||||
//}
|
||||
this.syncClient();
|
||||
this.timestamps.put("SyncClient", System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user