From 9bb999d98a5f4a062a4d27dcefa8f2cba53a8fb7 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 17 Dec 2015 22:05:42 +0100 Subject: [PATCH] Ignore missing mappings for foreign paxles --- .../ellpeck/actuallyadditions/ActuallyAdditions.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java b/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java index a0548ab4f..6a057d8fa 100644 --- a/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java +++ b/src/main/java/ellpeck/actuallyadditions/ActuallyAdditions.java @@ -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(); + } + } + } }