mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
fix bugged unit repair & version bump
This commit is contained in:
parent
3578322686
commit
593527241a
2 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue