Skip to content

Commit

Permalink
Run spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
NEstoll committed May 30, 2024
1 parent 6f7c072 commit 2022bac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ public void tickFlower() {
super.tickFlower();

if (!getLevel().isClientSide) {
if ((getLevel().getGameTime() % SPEED == 0 || (getLevel().getGameTime() % (SPEED/2) == 0 && overgrowth)) && getLevel().hasNeighborSignal(getBlockPos())) {
if ((getLevel().getGameTime() % SPEED == 0 || (getLevel().getGameTime() % (SPEED / 2) == 0 && overgrowth)) && getLevel().hasNeighborSignal(getBlockPos())) {
runSimulation();
} else if ((getLevel().getGameTime() + 1) % SPEED == 0 || ((getLevel().getGameTime() + 1) % (SPEED/2) == 0 && overgrowth)) {
} else if ((getLevel().getGameTime() + 1) % SPEED == 0 || ((getLevel().getGameTime() + 1) % (SPEED / 2) == 0 && overgrowth)) {
int diameter = radius * 2;

for (int i = 0; i <= diameter; i++) {
Expand Down

0 comments on commit 2022bac

Please sign in to comment.