Skip to content

Commit

Permalink
fix tanks not filled from buckets merge 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
Lothrazar committed Apr 13, 2024
2 parents a6be2c9 + 7233d16 commit cf2ee47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions gradle.properties
Expand Up @@ -5,13 +5,14 @@ org.gradle.daemon=false
# org.gradle.java.home=C:\Program Files\AdoptOpenJDK\jdk-16.0.1.9-hotspot
# as needed run/server.properties : online-mode=false

mod_version=1.10.4

mod_version=1.10.5
curse_id=239286


mc_version=1.19.4
forge_version=45.1.0


# optional dependencies
jei_version=13.1.0.11
curios_version=5.1.5.3
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/lothrazar/cyclic/block/BlockCyclic.java
Expand Up @@ -97,7 +97,7 @@ public BlockState rotate(BlockState state, LevelAccessor world, BlockPos pos, Ro
@SuppressWarnings("deprecation")
@Override
public InteractionResult use(BlockState state, Level world, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hit) {
if (hasFluidInteract && player.getItemInHand(hand).isEmpty()) {
if (hasFluidInteract) {
if (!world.isClientSide) {
BlockEntity tankHere = world.getBlockEntity(pos);
if (tankHere != null) {
Expand Down

0 comments on commit cf2ee47

Please sign in to comment.