mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Ignore missing mappings for foreign paxles
This commit is contained in:
parent
f26f9ddbb2
commit
9bb999d98a
1 changed files with 10 additions and 0 deletions
|
@ -135,4 +135,14 @@ public class ActuallyAdditions{
|
|||
|
||||
WorldData.init(MinecraftServer.getServer());
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void missingMapping(FMLMissingMappingsEvent event){
|
||||
for(FMLMissingMappingsEvent.MissingMapping mapping : event.get()){
|
||||
//Ignore removal of foreign paxels
|
||||
if(mapping.name != null && mapping.name.contains("paxel")){
|
||||
mapping.ignore();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue