File tree Expand file tree Collapse file tree
src/main/java/org/example Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import java.time.ZoneOffset
33
44plugins {
55 java
6- id(" net.raphimc.class-token-replacer" ) version(" 1.1.3 " )
6+ id(" net.raphimc.class-token-replacer" ) version(" 1.1.4 " )
77 idea
88}
99
Original file line number Diff line number Diff line change 99import org .example .module .ExampleModule ;
1010import org .slf4j .Logger ;
1111
12- // to indicate any MC version: @Plugin(mcVersions = "*")
1312@ Plugin (
1413 id = "example-plugin" ,
1514 version = "${version}" ,
1615 description = "ZenithProxy Example Plugin" ,
1716 url = "https://github.com/rfresh2/ZenithProxyExamplePlugin" ,
1817 authors = {"rfresh2" },
19- mcVersions = {"1.21.0" , "1.21.4" }
18+ mcVersions = {"1.21.0" } // to indicate any MC version: @Plugin(mcVersions = "*")
2019)
2120public class ExamplePlugin implements ZenithProxyPlugin {
2221 // public static for easy access from modules and commands
@@ -26,7 +25,7 @@ public class ExamplePlugin implements ZenithProxyPlugin {
2625
2726 @ Override
2827 public void onLoad (PluginAPI pluginAPI ) {
29- LOG = pluginAPI .getLogger (this );
28+ LOG = pluginAPI .getLogger ();
3029 LOG .info ("Example Plugin loading..." );
3130 // initialize any configurations before modules or commands might need to read them
3231 PLUGIN_CONFIG = pluginAPI .registerConfig ("example-plugin" , ExampleConfig .class );
You can’t perform that action at this time.
0 commit comments