mirror of
https://github.com/Auxilor/Reforges.git
synced 2025-12-25 09:59:27 +00:00
Fixed support for stacked reforge stones in the GUI
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user