File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
src/main/java/de/rexlmanu/fairychat/plugin Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 33import java .util .UUID ;
44
55public class Constants {
6+ private Constants () {
7+ throw new UnsupportedOperationException ();
8+ }
69 /*
710 * The server id is used to identify the server in the redis network.
811 */
Original file line number Diff line number Diff line change @@ -37,12 +37,6 @@ public final CommandManager<CommandSender> provideCommandManager(
3737 .parameterInjectorRegistry ()
3838 .registerInjectionService (context -> injector .getInstance (context .getSecond ()));
3939
40- // new MinecraftExceptionHandler<CommandSender>()
41- // .withHandler(MinecraftExceptionHandler.ExceptionType.NO_PERMISSION,
42- // e -> Component.text("You don't have permission to do this!")
43- // .style(builder -> builder.color(NamedTextColor.RED)))
44- // .apply(commandManager, sender -> sender);
45-
4640 return commandManager ;
4741 } catch (Exception e ) {
4842 throw new RuntimeException ("Failed to initialize the CommandManager" );
You can’t perform that action at this time.
0 commit comments