This repository was archived by the owner on Jul 24, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/main/java/fr/bakaaless/api/command Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
33}
44
55group ' fr.bakaaless'
6- version ' 1.0.0 -SNAPSHOT'
6+ version ' 1.0.1 -SNAPSHOT'
77
88def spigotVersion = ' 1.16'
99def subVersion = ' .5'
Original file line number Diff line number Diff line change @@ -280,7 +280,8 @@ else if (toExec.getSecond().length() < aliases.length())
280280 return new ArrayList <>();
281281 }
282282
283- public void registerRunners (final Class <? extends CommandRunner >... executors ) {
283+ @ SafeVarargs
284+ public final void registerRunners (final Class <? extends CommandRunner >... executors ) {
284285
285286 executors :
286287 for (final Class <? extends CommandRunner > executor : executors ) {
@@ -353,7 +354,8 @@ public void registerRunners(final Class<? extends CommandRunner>... executors) {
353354
354355 }
355356
356- public void unregisterRunners (final Class <? extends CommandRunner >... executors ) {
357+ @ SafeVarargs
358+ public final void unregisterRunners (final Class <? extends CommandRunner >... executors ) {
357359
358360 for (final Class <? extends CommandRunner > executor : executors ) {
359361
You can’t perform that action at this time.
0 commit comments