FEAT: Damage on server

This commit is contained in:
2026-03-28 16:41:00 +02:00
parent f5fecbc928
commit bcf48eb5e3
7 changed files with 48 additions and 19 deletions

View File

@@ -553,7 +553,7 @@ void Minecraft::tick(int nTick, int maxTick) {
level->tickEntities();
level->tick();
#ifndef STANDALONE_SERVER
TIMER_POP_PUSH("animateTick");
TIMER_POP_PUSH("animateTick");
if (player) {
level->animateTick(Mth::floor(player->x), Mth::floor(player->y), Mth::floor(player->z));
}