fix bugged unit repair & version bump

This commit is contained in:
alexcrea 2026-06-16 02:57:41 +02:00
parent 3578322686
commit 593527241a
Signed by: alexcrea
GPG key ID: E346CD16413450E3
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ plugins {
} }
group = "xyz.alexcrea" group = "xyz.alexcrea"
version = "1.17.1" version = "1.17.2"
val isDevBuild = System.getenv("SMALL_COMMIT_HASH") != null val isDevBuild = System.getenv("SMALL_COMMIT_HASH") != null
val isPreRelease = System.getenv("IS_GITHUB_PRERELEASE") == "true" val isPreRelease = System.getenv("IS_GITHUB_PRERELEASE") == "true"

View file

@ -121,7 +121,7 @@ class AnvilResultListener : Listener {
view, inventory, player, view, inventory, player,
leftItem, rightItem leftItem, rightItem
) )
if (unitRepairResult.isEmpty()) { if (!unitRepairResult.isEmpty()) {
onUnitRepairExtract( onUnitRepairExtract(
rightItem, event, player, inventory, rightItem, event, player, inventory,
unitRepairResult unitRepairResult