fix for meg beta

This commit is contained in:
zimzaza4
2024-12-15 22:15:52 +08:00
parent 8a0a1a3983
commit a9a961b45b
4 changed files with 5 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ public class EntityTask {
sendColor(Collections.singleton(player), true);
updateEntityProperties(Collections.singleton(player), true);
}, 1000, TimeUnit.MILLISECONDS);
}, delay * 50L, TimeUnit.MILLISECONDS);
}, Math.max(50, delay * 50L), TimeUnit.MILLISECONDS);
}
public void sendScale(Collection<Player> players, boolean firstSend) {
@@ -351,8 +351,7 @@ public class EntityTask {
if (playerLocation.distanceSquared(entityLocation) > player.getSendViewDistance() * player.getSendViewDistance() * 48) {
return false;
}
CullType type = model.getActiveModel().getModeledEntity().getBase().getData().getTracking().get(player);
return type != null;
return true;
/*
if (entity.getLocation().getChunk() == player.getChunk()) {
return true;