code cleanup
Dieser Commit ist enthalten in:
Ursprung
0fc5730cf5
Commit
ef78fd7280
@ -69,13 +69,10 @@ public class Fight {
|
||||
}
|
||||
|
||||
public static void replaceSync() {
|
||||
if(Config.ReplaceObsidian) {
|
||||
Fight.getRedTeam().replaceSync(true, Material.OBSIDIAN, Material.TNT);
|
||||
Fight.getBlueTeam().replaceSync(true, Material.OBSIDIAN, Material.TNT);
|
||||
}
|
||||
if(Config.ReplaceBedrock) {
|
||||
Fight.getRedTeam().replaceSync(true, Material.BEDROCK, Material.SLIME_BLOCK);
|
||||
Fight.getBlueTeam().replaceSync(true, Material.BEDROCK, Material.SLIME_BLOCK);
|
||||
}
|
||||
Fight.getRedTeam().replaceSync(Config.ReplaceObsidian, Material.OBSIDIAN, Material.TNT);
|
||||
Fight.getBlueTeam().replaceSync(Config.ReplaceObsidian, Material.OBSIDIAN, Material.TNT);
|
||||
|
||||
Fight.getRedTeam().replaceSync(Config.ReplaceBedrock, Material.BEDROCK, Material.SLIME_BLOCK);
|
||||
Fight.getBlueTeam().replaceSync(Config.ReplaceBedrock, Material.BEDROCK, Material.SLIME_BLOCK);
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren