Fixed captive slot changes PR
This commit is contained in:
@@ -95,7 +95,7 @@ class GUIListener(private val plugin: EcoPlugin) : Listener {
|
||||
|
||||
val slot = menu.getSlot(row, column, player)
|
||||
|
||||
if (!slot.isCaptive(player, menu) || !slot.isCaptiveForItem(player, menu, event.currentItem)) {
|
||||
if (!slot.isCaptive(player, menu, event.currentItem)) {
|
||||
event.isCancelled = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user