From 78528f679ffe90a54ef1900200446b7bd4e70baa Mon Sep 17 00:00:00 2001 From: discomal101 <112298983+discomal101@users.noreply.github.com> Date: Sun, 1 Dec 2024 12:47:10 +1100 Subject: [PATCH] Fixed Typing Mistake --- .../java/net/aoba/module/modules/misc/DiscordRPCModule.java | 4 ++-- src/main/java/net/aoba/utils/discord/RPCManager.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;