mirror of
https://github.com/Auxilor/EcoMenus.git
synced 2025-12-19 15:09:20 +00:00
Fixed violation logging
This commit is contained in:
@@ -68,7 +68,7 @@ class ConfigurableSlot(
|
||||
val function = type.create(
|
||||
action,
|
||||
plugin,
|
||||
context.with("slot at row ${row}, column $column").with(section).with(typeName)
|
||||
context.with(section).with(typeName)
|
||||
)?.toSlotAction() ?: continue
|
||||
|
||||
onClick(clickType, function)
|
||||
|
||||
@@ -31,9 +31,8 @@ class CommandSlotFunction(
|
||||
Bukkit.dispatchCommand(
|
||||
sender ?: player,
|
||||
PlaceholderManager.translatePlaceholders(
|
||||
command, placeholderContext(
|
||||
player = player
|
||||
)
|
||||
command.replace("%player%", player.name),
|
||||
placeholderContext(player = player)
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user