mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
Compatibility with most plugin using wesjd anvil gui
This commit is contained in:
parent
74a211bc88
commit
a915d5ad80
15 changed files with 267 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class AnvilEventListener(private val packetManager: PacketManager) : Listener {
|
|||
/**
|
||||
* Event handler logic for when an anvil contains items to be combined
|
||||
*/
|
||||
@EventHandler(priority = HIGHEST)
|
||||
@EventHandler(priority = HIGHEST, ignoreCancelled = true)
|
||||
fun anvilCombineCheck(event: PrepareAnvilEvent) {
|
||||
// Test if the event should bypass custom anvil.
|
||||
if(DependencyManager.tryEventPreAnvilBypass(event)) return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue