Separate the dispatch and game servers (pt. 2)

this commit fixes the gacha page
This commit is contained in:
KingRainbow44
2023-05-15 02:37:35 -04:00
parent e079eebc0f
commit 15b1718052
4 changed files with 36 additions and 24 deletions

View File

@@ -129,7 +129,7 @@ public final class HttpServer {
@SuppressWarnings("UnusedReturnValue")
public HttpServer addRouter(Class<? extends Router> router, Object... args) {
// Get all constructor parameters.
Class<?>[] types = new Class<?>[args.length];
var types = new Class<?>[args.length];
for (var argument : args)
types[args.length - 1] = argument.getClass();