Skip to content

Commit

Permalink
small improvements to the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Dec 21, 2024
1 parent 89af2bf commit e3fcb53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class ExamplePlugin extends ZapperJavaPlugin {

@Override
public void onEnable() {
System.out.println(Moshi.class);
System.out.println("This class is relocated: " + Moshi.class);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ class ExamplePlugin : ZapperJavaPlugin() {

companion object {
init {
println("Kotlin is already loaded!")
println("Nice! Kotlin has loaded!")
}
}

override fun onEnable() {
println("Hello from Kotlin!")
println("This class is relocated: ${KotlinVersion::class.java}")
}

override fun onDisable() {
Expand Down

0 comments on commit e3fcb53

Please sign in to comment.