Skip to content

Commit

Permalink
Ensure callback is ticked
Browse files Browse the repository at this point in the history
  • Loading branch information
Prunoideae committed Dec 26, 2023
1 parent db5bf4d commit 6f235f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public abstract class BlockBehaviourMixin implements BlockKJS {

@Override
public void kjs$setRandomTickCallback(Consumer<RandomTickCallbackJS> callback) {
kjs$setIsRandomlyTicking(true);
this.kjs$randomTickCallback = callback;
}

Expand Down

0 comments on commit 6f235f5

Please sign in to comment.