Fix some compile errors

This commit is contained in:
Zontreck 2024-02-28 16:04:01 -07:00
parent 10af6a66f9
commit e1151bcb90
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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;