fixed a small mistake regarding a viewer check

This commit is contained in:
xSquishyLiam
2025-12-11 22:35:06 +00:00
parent 7fbab6a908
commit 35f612cc74
3 changed files with 3 additions and 15 deletions

View File

@@ -41,7 +41,7 @@ public class EntityTaskManager {
public void checkViewers(EntityData model, Set<Player> viewers) {
for (Player onlinePlayer : Bukkit.getOnlinePlayers()) {
if (!BedrockUtils.isBedrockPlayer(onlinePlayer)) return;
if (!BedrockUtils.isBedrockPlayer(onlinePlayer)) continue;
if (canSee(onlinePlayer, model.getEntity())) {
if (!viewers.contains(onlinePlayer)) {