Changing to SchematicNodes #305
@ -67,7 +67,7 @@ public class LockschemCommand implements CommandExecutor {
|
||||
return false;
|
||||
}
|
||||
|
||||
SchematicNode.getSchematicNode(fightTeam.getSchematic()).setType(SchematicType.Normal.toDB());
|
||||
SchematicNode.getSchematicNode(fightTeam.getSchematic()).setSchemtype(SchematicType.Normal);
|
||||
FightSystem.getMessage().sendPrefixless("LOCKSCHEM_LOCKED", player, ChatMessageType.ACTION_BAR);
|
||||
fightTeam.broadcastSystem("LOCKSCHEM_LOCKED_BY", player.getName());
|
||||
return false;
|
||||
|
@ -78,7 +78,7 @@ public class PrepareSchem implements Listener {
|
||||
throw new SecurityException("Could not save schem", e);
|
||||
}
|
||||
|
||||
schem.setType(Config.SchematicType.checkType().toDB());
|
||||
schem.setSchemtype(Config.SchematicType.checkType());
|
||||
FightSystem.getMessage().broadcast("PREPARE_SENT_IN");
|
||||
Bukkit.shutdown();
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren