mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-31 09:54:57 +07:00
More detailed warning message
This commit is contained in:
parent
ab13a76ebb
commit
0867e25119
@ -452,7 +452,7 @@ public class ContentParser{
|
|||||||
if(consumeType != Consume.class){
|
if(consumeType != Consume.class){
|
||||||
block.removeConsumers(b -> consumeType.isAssignableFrom(b.getClass()));
|
block.removeConsumers(b -> consumeType.isAssignableFrom(b.getClass()));
|
||||||
}else{
|
}else{
|
||||||
Log.warn("Unknown consumer type '@' in consume: remove.", type);
|
Log.warn("Unknown consumer type '@' (Class: @) in consume: remove.", type, "Consume" + Strings.capitalize(type));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user