Ignore missing mappings for foreign paxles

This commit is contained in:
Ellpeck 2015-12-17 22:05:42 +01:00
parent f26f9ddbb2
commit 9bb999d98a

View file

@ -135,4 +135,14 @@ public class ActuallyAdditions{
WorldData.init(MinecraftServer.getServer()); 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();
}
}
}
} }