Skip to content

Commit

Permalink
Apparently marker != invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
tr7zw committed Aug 30, 2024
1 parent 7d39185 commit 946af8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/tr7zw/entityculling/CullTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private void cullBlockEntities(Vec3 cameraMC, Vec3d camera) {
private boolean isSkippableArmorstand(Entity entity) {
if (!EntityCullingModBase.instance.config.skipMarkerArmorStands)
return false;
return entity instanceof ArmorStand && ((ArmorStand) entity).isMarker();
return entity instanceof ArmorStand && ((ArmorStand) entity).isInvisible();
}

// Vec3i forward compatibility functions
Expand Down

0 comments on commit 946af8b

Please sign in to comment.