mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
Fix loading config.
This commit is contained in:
parent
dfa47f740d
commit
e364cff44e
@ -187,7 +187,7 @@ public class YamlConfig implements ConfigurationAdapter
|
||||
InetSocketAddress address = Util.getAddr( host );
|
||||
Map<String, String> forced = get( "forced_hosts", forcedDef, val );
|
||||
String textureURL = get( "texture_url", null, val );
|
||||
int textureSize = get( "texture_size", null, val );
|
||||
int textureSize = get( "texture_size", 16, val );
|
||||
TexturePackInfo texture = ( textureURL == null ) ? null : new TexturePackInfo( textureURL, textureSize );
|
||||
ListenerInfo info = new ListenerInfo( address, motd, maxPlayers, tabListSize, defaultServer, forceDefault, forced, texture );
|
||||
ret.add( info );
|
||||
|
Loading…
Reference in New Issue
Block a user