Skip to content

Commit

Permalink
Updated to 1.20.1 (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Cloudburst <[email protected]>
  • Loading branch information
CrytoPal and C10udburst authored Jul 4, 2023
1 parent 63f481a commit c1fd380
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/devbuild.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: devbuild

concurrency:
group: "build-1.19.4"
group: "build-1.20.1"
cancel-in-progress: true

on:
Expand Down Expand Up @@ -30,8 +30,8 @@ jobs:
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest-1.19.4"
automatic_release_tag: "latest-1.20.1"
prerelease: false
title: "1.19.4 Build"
title: "1.20.1 Build"
files: |
./build/libs/*.jar
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
org.gradle.jvmargs=-Xmx2G

# Fabric (https://fabricmc.net/versions.html)
minecraft_version=1.19.4
yarn_version=1.19.4+build.1
loader_version=0.14.19
minecraft_version=1.20.1
yarn_version=1.20.1+build.1
loader_version=0.14.21

# Mod Properties
mod_version=0.1
mod_version=0.2
maven_group=meteordevelopment.addons
archives_base_name=orion

meteor_version=0.5.3
meteor_version=0.5.4
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private BlockPos findPlace(PlayerEntity target) {
double headSelfDamage = DamageUtils.bedDamage(mc.player, Utils.vec3d(centerPos));
double offsetSelfDamage = DamageUtils.bedDamage(mc.player, Utils.vec3d(centerPos.offset(dir.toDirection())));

if (mc.world.getBlockState(centerPos).getMaterial().isReplaceable()
if (mc.world.getBlockState(centerPos).isReplaceable()
&& BlockUtils.canPlace(centerPos.offset(dir.toDirection()))
&& DamageUtils.bedDamage(target, Utils.vec3d(centerPos)) >= minDamage.get()
&& offsetSelfDamage < maxSelfDamage.get()
Expand Down

0 comments on commit c1fd380

Please sign in to comment.