Skip to content

Commit

Permalink
fix: #3 Crash with Lithium's Sleeping Block Entities
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name authored and SpaceWalkerRS committed Jun 2, 2023
1 parent 6fbdd50 commit 7ffbd59
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ public void tickMovingBlocks_bes() {
TickingBlockEntity ticker = blockEntityTickers.get(i);

BlockPos pos = ticker.getPos();
if (pos == null) {
continue;
}
long l = ChunkPos.asLong(pos);

if (!shouldTickBlocksAt(l)) {
Expand Down

0 comments on commit 7ffbd59

Please # to comment.