mirror of
https://github.com/GeyserExtensionists/GeyserModelEngine.git
synced 2025-12-19 15:09:18 +00:00
Fix
This commit is contained in:
@@ -333,7 +333,7 @@ public class EntityTask {
|
|||||||
Location entityLocation = entity.getLocation();
|
Location entityLocation = entity.getLocation();
|
||||||
playerLocation.setY(0);
|
playerLocation.setY(0);
|
||||||
entityLocation.setY(0);
|
entityLocation.setY(0);
|
||||||
if (playerLocation.distanceSquared(entityLocation) > player.getSendViewDistance() * player.getSendViewDistance()) {
|
if (playerLocation.distanceSquared(entityLocation) > player.getSendViewDistance() * player.getSendViewDistance() * 16) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
CullType type = model.getActiveModel().getModeledEntity().getBase().getData().getTracking().get(player);
|
CullType type = model.getActiveModel().getModeledEntity().getBase().getData().getTracking().get(player);
|
||||||
|
|||||||
Reference in New Issue
Block a user