Skip to content

Commit

Permalink
Fixed Typing Mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
discomal101 committed Dec 1, 2024
1 parent d103984 commit 78528f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/aoba/utils/discord/RPCManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void startRpc() {
/*
Stops the Discord Rich Presence (RPC).
*/
public void StopRPC() {
public void stopRpc() {
if (started) {
started = false;

Expand Down

0 comments on commit 78528f6

Please sign in to comment.