Skip to content

Commit e5592b6

Browse files
committed
Fix Rich Presence Module not working on bungee & velocity
1 parent 0e55387 commit e5592b6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

bungee/src/main/java/com/lunarclient/apollo/ApolloBungeePlatform.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
import com.lunarclient.apollo.module.nametag.NametagModuleImpl;
5151
import com.lunarclient.apollo.module.notification.NotificationModule;
5252
import com.lunarclient.apollo.module.notification.NotificationModuleImpl;
53+
import com.lunarclient.apollo.module.richpresence.RichPresenceModule;
54+
import com.lunarclient.apollo.module.richpresence.RichPresenceModuleImpl;
5355
import com.lunarclient.apollo.module.serverrule.ServerRuleModule;
5456
import com.lunarclient.apollo.module.staffmod.StaffModModule;
5557
import com.lunarclient.apollo.module.staffmod.StaffModModuleImpl;
@@ -118,6 +120,7 @@ public void onEnable() {
118120
.addModule(ModSettingModule.class)
119121
.addModule(NametagModule.class, new NametagModuleImpl())
120122
.addModule(NotificationModule.class, new NotificationModuleImpl())
123+
.addModule(RichPresenceModule.class, new RichPresenceModuleImpl())
121124
.addModule(ServerRuleModule.class)
122125
.addModule(StaffModModule.class, new StaffModModuleImpl())
123126
.addModule(StopwatchModule.class, new StopwatchModuleImpl())

velocity/src/main/java/com/lunarclient/apollo/ApolloVelocityPlatform.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
import com.lunarclient.apollo.module.nametag.NametagModuleImpl;
5151
import com.lunarclient.apollo.module.notification.NotificationModule;
5252
import com.lunarclient.apollo.module.notification.NotificationModuleImpl;
53+
import com.lunarclient.apollo.module.richpresence.RichPresenceModule;
54+
import com.lunarclient.apollo.module.richpresence.RichPresenceModuleImpl;
5355
import com.lunarclient.apollo.module.serverrule.ServerRuleModule;
5456
import com.lunarclient.apollo.module.staffmod.StaffModModule;
5557
import com.lunarclient.apollo.module.staffmod.StaffModModuleImpl;
@@ -175,6 +177,7 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
175177
.addModule(ModSettingModule.class)
176178
.addModule(NametagModule.class, new NametagModuleImpl())
177179
.addModule(NotificationModule.class, new NotificationModuleImpl())
180+
.addModule(RichPresenceModule.class, new RichPresenceModuleImpl())
178181
.addModule(ServerRuleModule.class)
179182
.addModule(StaffModModule.class, new StaffModModuleImpl())
180183
.addModule(StopwatchModule.class, new StopwatchModuleImpl())

0 commit comments

Comments
 (0)