9
0
mirror of https://github.com/Auxilor/Reforges.git synced 2025-12-29 03:49:11 +00:00

Merge pull request #31 from 0ft3n/master

Fixed support for stacked reforge stones in the GUI
This commit is contained in:
Will FP
2023-01-24 09:42:19 +00:00
committed by GitHub

View File

@@ -149,8 +149,7 @@ private class ActivatorSlot(
if (usedStone) {
val stone = reforgeStone[player]
stone?.itemMeta = null
stone?.amount = 0
stone?.amount = stone?.amount?.minus(1) ?: 0
if (plugin.configYml.getBool("gui.stone-sound.enabled")) {
player.playSound(
player.location,