Skip to content

Commit

Permalink
Fix Dedicated Server Crash (closes #19)
Browse files Browse the repository at this point in the history
  • Loading branch information
hammy275 committed Oct 2, 2022
1 parent 04c6598 commit d929642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/java/net/blf02/vrapi/VRAPIMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public static void init() {
TickEvent.PLAYER_POST.register(DebugSubscriber::onPlayerTick);
}

ReflectionConstants.init();
// Only bother to grab VR Data when on the client-side
if (Platform.getEnvironment() == Env.CLIENT) {
ReflectionConstants.init();
VRDataGrabber.init();
}

Expand Down

0 comments on commit d929642

Please sign in to comment.