forked from SteamWar/SteamWar
Improve GameModeConfig
This commit is contained in:
@@ -21,7 +21,6 @@ package de.steamwar.sql;
|
||||
|
||||
import com.velocitypowered.api.proxy.Player;
|
||||
import com.velocitypowered.api.proxy.server.RegisteredServer;
|
||||
import de.steamwar.data.GameModeConfig;
|
||||
import de.steamwar.velocitycore.VelocityCore;
|
||||
import de.steamwar.velocitycore.commands.CheckCommand;
|
||||
|
||||
@@ -35,7 +34,8 @@ public class SQLWrapperImpl implements SQLWrapper {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void processSchematicType(GameModeConfig<String, String, String> gameModeConfig, SchematicType type) {
|
||||
public void processSchematicType(GameModeConfig<String, String> gameModeConfig) {
|
||||
SchematicType type = gameModeConfig.Schematic.Type;
|
||||
if (type.checkType() != null) {
|
||||
CheckCommand.setCheckQuestions(type.checkType(), gameModeConfig.CheckQuestions);
|
||||
CheckCommand.addFightType(type.checkType(), type);
|
||||
|
||||
Reference in New Issue
Block a user