Skip to content

Commit

Permalink
fix: use / in velocity descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
Apehum committed Nov 25, 2023
1 parent 9fbec7f commit 32449f2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ object VelocityAddonEntryPoint : AddonEntryPoint() {
}

// Add onLoad method
val loadMethod = cw.visitMethod(Opcodes.ACC_PUBLIC, "onProxyInitialization", "(Lcom.velocitypowered.api.event.proxy.ProxyInitializeEvent;)V", null, null)
loadMethod.visitAnnotation("Lcom.velocitypowered.api.event.Subscribe;", true)
val loadMethod = cw.visitMethod(Opcodes.ACC_PUBLIC, "onProxyInitialization", "(Lcom/velocitypowered/api/event/proxy/ProxyInitializeEvent;)V", null, null)
loadMethod.visitAnnotation("Lcom/velocitypowered/api/event/Subscribe;", true)
loadMethod.visitCodeThenEnd {
generateProxyAddonsLoaders(loadMethod, fullClassName, addons)
}
Expand Down

0 comments on commit 32449f2

Please sign in to comment.