Skip to content

Commit b29eb39

Browse files
committed
fix: properly fallback to standalone auth
- if velocity forwarding support not successfully enabled, fallback to standalone auth.
1 parent 1002fb3 commit b29eb39

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/java/dev/codeerror/overflow/OverflowLimbo.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ public static void main(String[] args) {
136136
switch (proxyType) {
137137
case "velocity" -> {
138138
String velocitySecret = config.getVelocitySecret();
139-
if (velocitySecret.isBlank()) break;
139+
if (velocitySecret.isBlank()) {
140+
MojangAuth.init();
141+
break;
142+
}
140143
VelocityProxy.enable(velocitySecret);
141144
logger.info("Velocity modern forwarding support enabled.");
142145
}

0 commit comments

Comments
 (0)