Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken 2024-02-04 19:09:42 -05:00
commit 8d36c7710c
2 changed files with 2 additions and 5 deletions

View File

@ -271,8 +271,9 @@ public class ContentParser{
return new Vec3(data.getFloat("x", 0f), data.getFloat("y", 0f), data.getFloat("z", 0f));
});
put(Sound.class, (type, data) -> {
var field = fieldOpt(Sounds.class, data);
if(data.isArray()) return new RandomSound(parser.readValue(Sound[].class, data));
var field = fieldOpt(Sounds.class, data);
return field != null ? field : Vars.tree.loadSound(data.asString());
});
put(Music.class, (type, data) -> {

View File

@ -256,10 +256,6 @@
"name": "Atomic",
"address": ["atomic-de.ddns.net:35199", "atomic-de.ddns.net:35176", "atomic-de.ddns.net:35845", "atomic-de.ddns.net:35313"]
},
{
"name": "SkyPlex",
"address": ["mc-skyplex.net"]
},
{
"name": "Gadgetroch's Server",
"address": ["mindustry.gadgetroch.com", "mindustry.gadgetroch.com:6568", "mindustry.gadgetroch.com:6569"]