From 988989030c578181147cd757e71d7961e9660496 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Mon, 28 Dec 2015 19:01:36 +0100 Subject: [PATCH] Made Missing Mapping Infos clearer --- .../java/ellpeck/actuallyadditions/ActuallyAdditions.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java b/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java index 660bd102b..195303451 100644 --- a/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java +++ b/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java @@ -47,6 +47,8 @@ import ellpeck.actuallyadditions.util.Util; import net.minecraft.init.Items; import net.minecraft.server.MinecraftServer; +import java.util.Locale; + // So that BuildCraft Oil always gets used @Mod(modid = ModUtil.MOD_ID, name = ModUtil.NAME, version = ModUtil.VERSION, dependencies = "after:BuildCraft|Energy", guiFactory = "ellpeck.actuallyadditions.config.GuiFactory") public class ActuallyAdditions{ @@ -132,9 +134,10 @@ public class ActuallyAdditions{ public void missingMapping(FMLMissingMappingsEvent event){ for(FMLMissingMappingsEvent.MissingMapping mapping : event.get()){ //Ignore removal of foreign paxels - if(mapping.name != null){ + if(mapping.name != null && mapping.name.toLowerCase(Locale.ROOT).startsWith(ModUtil.MOD_ID_LOWER+":")){ if(mapping.name.contains("paxel") || mapping.name.contains("itemSpecial")){ mapping.ignore(); + ModUtil.LOGGER.info("Missing Mapping "+mapping.name+" is getting ignored. This is intentional."); } } }