From e1151bcb90f156a30ecefe0c5a65d46948cdd4dc Mon Sep 17 00:00:00 2001 From: Zontreck Date: Wed, 28 Feb 2024 16:04:01 -0700 Subject: [PATCH] Fix some compile errors --- gradle.properties | 2 +- src/main/java/dev/zontreck/engineerdecor/blocks/EdMilker.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 375a91e..5e496bb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -48,7 +48,7 @@ mod_name=Engineer's Decor # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1201.10.022824.1434 +mod_version=1201.1.022824.1434 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/dev/zontreck/engineerdecor/blocks/EdMilker.java b/src/main/java/dev/zontreck/engineerdecor/blocks/EdMilker.java index 7026528..7ae1bde 100644 --- a/src/main/java/dev/zontreck/engineerdecor/blocks/EdMilker.java +++ b/src/main/java/dev/zontreck/engineerdecor/blocks/EdMilker.java @@ -561,7 +561,7 @@ public class EdMilker { abort_condition_ = abort_condition; on_target_position_reached_ = on_position_reached; on_aborted_ = on_aborted; - blockPos = new BlockPos(pos.x(), pos.y(), pos.z()); + blockPos = new BlockPos((int) pos.x(), (int) pos.y(), (int) pos.z()); tryTicks = 0; nextStartTick = 0; aborted_ = false;