Skip to content

Commit

Permalink
Run IForgeBlockEntity#onLoad on the next tick when a block entity i…
Browse files Browse the repository at this point in the history
…s added instead of running it immediately (#130)

By adding it to the fresh block entity list.
  • Loading branch information
ferriarnus authored Sep 22, 2023
1 parent 0974ecc commit 2cb3b0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}

this.m_156406_(p_156391_);
+ p_156391_.onLoad();
+ this.f_62776_.addFreshBlockEntities(java.util.List.of(p_156391_));
}

}
Expand Down

0 comments on commit 2cb3b0e

Please sign in to comment.