diff --git a/src/main/java/net/aoba/module/modules/misc/DiscordRPCModule.java b/src/main/java/net/aoba/module/modules/misc/DiscordRPCModule.java index 0cc2a039..f8921837 100644 --- a/src/main/java/net/aoba/module/modules/misc/DiscordRPCModule.java +++ b/src/main/java/net/aoba/module/modules/misc/DiscordRPCModule.java @@ -16,13 +16,13 @@ public DiscordRPCModule() { @Override public void onDisable() { RPCManager rpcManager = new RPCManager(); - rpcManager.startRpc(); + rpcManager.stopRpc(); } @Override public void onEnable() { RPCManager rpcManager = new RPCManager(); - rpcManager.StopRPC(); + rpcManager.startRpc(); } @Override diff --git a/src/main/java/net/aoba/utils/discord/RPCManager.java b/src/main/java/net/aoba/utils/discord/RPCManager.java index b94b1eac..409439e9 100644 --- a/src/main/java/net/aoba/utils/discord/RPCManager.java +++ b/src/main/java/net/aoba/utils/discord/RPCManager.java @@ -64,7 +64,7 @@ public void startRpc() { /* Stops the Discord Rich Presence (RPC). */ - public void StopRPC() { + public void stopRpc() { if (started) { started = false;