Skip to content

Commit

Permalink
Fix #157
Browse files Browse the repository at this point in the history
  • Loading branch information
tr7zw committed May 25, 2024
1 parent 526bfaf commit ac8bee1
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 @@ -87,7 +87,7 @@ private void cullEntities(Vec3 cameraMC, Vec3d camera) {
while (iterable.hasNext()) {
try {
entity = iterable.next();
} catch (NullPointerException | ConcurrentModificationException ex) {
} catch (NullPointerException | ConcurrentModificationException | ArrayIndexOutOfBoundsException ex) {
break; // We are not synced to the main thread, so NPE's/CME are allowed here and way
// less
// overhead probably than trying to sync stuff up for no really good reason
Expand Down

0 comments on commit ac8bee1

Please sign in to comment.