File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/kotlin/net/guizhanss/fastmachines/implementation/listeners Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ dependencies {
2525 compileOnly(kotlin(" stdlib" )) // loaded through library loader
2626 compileOnly(kotlin(" reflect" )) // loaded through library loader
2727 compileOnlyAndTestImpl(" io.papermc.paper:paper-api:1.21.1-R0.1-SNAPSHOT" )
28- compileOnlyAndTestImpl(" com.github.Slimefun:Slimefun4:3ea21da4fe " )
28+ compileOnlyAndTestImpl(" com.github.Slimefun:Slimefun4:5374034c87 " )
2929 compileOnly(" net.guizhanss:SlimefunTranslation:e03b01a7b7" )
3030 compileOnly(" com.github.schntgaispock:SlimeHUD:1.3.0" )
3131 compileOnly(" com.github.SlimefunGuguProject:InfinityExpansion:bebf0bd0f9" )
3232 compileOnly(" com.github.VoperAD:SlimeFrame:8af2379a01" )
3333 implementation(" org.bstats:bstats-bukkit:3.1.0" )
34- implementation(" net.guizhanss:guizhanlib-all:2.3 .0-SNAPSHOT" )
35- implementation(" net.guizhanss:guizhanlib-kt-all:0.1 .0-SNAPSHOT" )
34+ implementation(" net.guizhanss:guizhanlib-all:2.4 .0-SNAPSHOT" )
35+ implementation(" net.guizhanss:guizhanlib-kt-all:0.2 .0-SNAPSHOT" )
3636
3737 testImplementation(kotlin(" test" ))
3838 testImplementation(" org.mockbukkit.mockbukkit:mockbukkit-v1.21:4.10.0" )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import io.github.thebusybiscuit.slimefun4.api.events.SlimefunItemRegistryFinaliz
44import net.guizhanss.fastmachines.FastMachines
55import net.guizhanss.fastmachines.core.FMRegistry
66import org.bukkit.event.EventHandler
7+ import org.bukkit.event.EventPriority
78import org.bukkit.event.Listener
89import java.util.logging.Level
910
@@ -13,7 +14,7 @@ class SlimefunRegistryListener(plugin: FastMachines) : Listener {
1314 plugin.server.pluginManager.registerEvents(this , plugin)
1415 }
1516
16- @EventHandler
17+ @EventHandler(priority = EventPriority . MONITOR )
1718 fun onRegistryLoaded (e : SlimefunItemRegistryFinalizedEvent ) {
1819 for (machine in FMRegistry .enabledFastMachines) {
1920 FastMachines .debug(" Registering recipes for ${machine.javaClass.simpleName} " )
You can’t perform that action at this time.
0 commit comments