Skip to content

Commit

Permalink
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 fccd731
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ mod_version=1.8.3
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 fccd731

Please sign in to comment.