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 d135707 + 2d3ad92 commit 7233d16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ org.gradle.daemon=false
# as needed run/server.properties : online-mode=false

curse_id=239286
mod_version=1.8.3
mod_version=1.8.4

mc_version=1.19.2
forge_version=43.2.14


# optional dependencies
jei_version=11.4.0.285
curios_version=5.1.1.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/lothrazar/cyclic/block/BlockCyclic.java
Original file line number Diff line number Diff line change
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 7233d16

Please sign in to comment.