mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-11-11 03:31:19 +03:00
Dont try load mod icons on server (#5160)
This commit is contained in:
parent
7dc3dfd29e
commit
41423d43bb
@ -138,7 +138,7 @@ public class Mods implements Loadable{
|
||||
|
||||
private void loadIcon(LoadedMod mod){
|
||||
//try to load icon for each mod that can have one
|
||||
if(mod.root.child("icon.png").exists()){
|
||||
if(mod.root.child("icon.png").exists() && !headless){
|
||||
try{
|
||||
mod.iconTexture = new Texture(mod.root.child("icon.png"));
|
||||
mod.iconTexture.setFilter(TextureFilter.linear);
|
||||
|
Loading…
Reference in New Issue
Block a user