From d929642fa0b29fa694d078d555e8dbf0762c5ce7 Mon Sep 17 00:00:00 2001 From: hammy3502 Date: Sun, 2 Oct 2022 13:51:44 -0400 Subject: [PATCH] Fix Dedicated Server Crash (closes #19) --- common/src/main/java/net/blf02/vrapi/VRAPIMod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/net/blf02/vrapi/VRAPIMod.java b/common/src/main/java/net/blf02/vrapi/VRAPIMod.java index c638885..c9913d6 100644 --- a/common/src/main/java/net/blf02/vrapi/VRAPIMod.java +++ b/common/src/main/java/net/blf02/vrapi/VRAPIMod.java @@ -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(); }