Skip to content

Commit

Permalink
1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Quplet committed Jun 7, 2023
1 parent 950737e commit 51a7e10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20-rc1
yarn_mappings=1.20-rc1+build.2
minecraft_version=1.20
yarn_mappings=1.20+build.1
loader_version=0.14.21

# Mod Properties
mod_version = 1.3.5-1.20-rc.1
mod_version = 1.3.5-1.20
maven_group = qu
archives_base_name = qu-enchantments

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void tickEquippedWhileMoving(LivingEntity entity, BlockPos pos, ItemStack
mutable.set(blockPos2.getX(), blockPos2.getY() + 1, blockPos2.getZ());
BlockState blockState2 = world.getBlockState(mutable);
BlockState blockState3;
// TODO: test that this still works properly

if (!blockState2.isAir() || !(blockState3 = world.getBlockState(blockPos2)).isOf(Blocks.LAVA) ||
blockState3.get(FluidBlock.LEVEL) != 0 || !blockState.canPlaceAt(world, blockPos2) ||
!world.canPlace(blockState, blockPos2, ShapeContext.absent())) continue;
Expand Down

0 comments on commit 51a7e10

Please sign in to comment.