From ae52012c35d0b332efa40d8b7e3040fe97376558 Mon Sep 17 00:00:00 2001 From: Nicholas Estoll Date: Wed, 10 Jul 2024 13:30:14 -0400 Subject: [PATCH] Fix static and private --- .../botania/api/block_entity/SpecialFlowerBlockEntity.java | 2 +- .../common/block/flower/generating/DandelifeonBlockEntity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Xplat/src/main/java/vazkii/botania/api/block_entity/SpecialFlowerBlockEntity.java b/Xplat/src/main/java/vazkii/botania/api/block_entity/SpecialFlowerBlockEntity.java index 19ced5b950..0caf6dbe20 100644 --- a/Xplat/src/main/java/vazkii/botania/api/block_entity/SpecialFlowerBlockEntity.java +++ b/Xplat/src/main/java/vazkii/botania/api/block_entity/SpecialFlowerBlockEntity.java @@ -123,7 +123,7 @@ public final void setFloating(boolean floating) { this.isFloating = floating; } - private boolean isOnSpecialSoil() { + public boolean isOnSpecialSoil() { if (isFloating()) { return false; } else { diff --git a/Xplat/src/main/java/vazkii/botania/common/block/flower/generating/DandelifeonBlockEntity.java b/Xplat/src/main/java/vazkii/botania/common/block/flower/generating/DandelifeonBlockEntity.java index 122a736ab4..abba8d3dcf 100644 --- a/Xplat/src/main/java/vazkii/botania/common/block/flower/generating/DandelifeonBlockEntity.java +++ b/Xplat/src/main/java/vazkii/botania/common/block/flower/generating/DandelifeonBlockEntity.java @@ -77,7 +77,7 @@ public void tickFlower() { } } - private static boolean shouldTick(long gameTime) { + private boolean shouldTick(long gameTime) { return (gameTime % SPEED == 0 || (gameTime % (OVERGROWN_SPEED) == 0 && overgrowthBoost)) && getLevel().hasNeighborSignal(getBlockPos()); }