mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 14:01:03 -08:00
Prioritize mod content in parser
This commit is contained in:
parent
8a3dd53aa2
commit
df156444e7
1 changed files with 2 additions and 2 deletions
|
|
@ -566,8 +566,8 @@ public class ContentParser{
|
|||
}
|
||||
|
||||
private <T extends MappableContent> T locate(ContentType type, String name){
|
||||
T first = Vars.content.getByName(type, name); //try vanilla replacement
|
||||
return first != null ? first : Vars.content.getByName(type, currentMod.name + "-" + name);
|
||||
T first = Vars.content.getByName(type, currentMod.name + "-" + name); //try vanilla replacement
|
||||
return first != null ? first : Vars.content.getByName(type, name);
|
||||
}
|
||||
|
||||
private <T extends MappableContent> T locateAny(String name){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue