File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/main/java/io/github/_4drian3d/chatregulator/api/checks
plugin/src/main/java/io/github/_4drian3d/chatregulator/plugin Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ dependencies {
1616 compileOnlyApi(libs.velocity)
1717}
1818
19-
20-
2119tasks {
2220 compileJava {
2321 options.release.set(17 )
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public static CapsCheck.Builder builder(){
5656 public static class Builder implements AbstractBuilder <CapsCheck > {
5757 private int limit ;
5858 private ControlType controlType ;
59- Builder (){}
59+ Builder () {}
6060
6161 /**
6262 * Set the new caps limit
Original file line number Diff line number Diff line change @@ -58,13 +58,14 @@ public class ChatRegulator implements ChatRegulatorAPI {
5858
5959 @ Subscribe
6060 public void onProxyInitialization (final ProxyInitializeEvent event ) {
61+ final long start = System .currentTimeMillis ();
6162 this .injector = injector .createChildInjector (
6263 new ConfigurationModule (),
6364 new ProviderModule (),
6465 new PluginModule (statistics , playerManager )
6566 );
6667 injector .injectMembers (playerManager );
67- logger .info (miniMessage ().deserialize ("<gradient:#DAE2F8:#D4D3DD >Starting plugin..." ));
68+ logger .info (miniMessage ().deserialize ("<gradient:#A0E2F8:#D4A0FF >Starting plugin..." ));
6869
6970 Stream .of (
7071 ChatListener .class ,
@@ -77,7 +78,8 @@ public void onProxyInitialization(final ProxyInitializeEvent event) {
7778
7879 injector .getInstance (RegulatorCommand .class ).register ();
7980
80- logger .info (miniMessage ().deserialize ("<gradient:#DAE2F8:#D4D3DD>has been started" ));
81+ final long end = System .currentTimeMillis ();
82+ logger .info (miniMessage ().deserialize ("<gradient:#A0E2F8:#D4A0FF>Correctly started in " +(end -start )+"ms" ));
8183 }
8284
8385 @ Override
You can’t perform that action at this time.
0 commit comments