mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-31 01:44:22 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
8d36c7710c
@ -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) -> {
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user