mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
Prevent TankAir missing block warning for people who haven't updated yet
This commit is contained in:
1 parent
03ece540e6
commit
7488b480d5
1 file changed
+9
@@ -266,4 +266,13 @@ public class TConstruct
|
||||
public static LiquidCasting tableCasting;
|
||||
public static LiquidCasting basinCasting;
|
||||
public static Detailing chiselDetailing;
|
||||
|
||||
@Mod.EventHandler
|
||||
public void missingMapping(FMLMissingMappingsEvent event) {
|
||||
// this will be called because the air-block got removed
|
||||
for(FMLMissingMappingsEvent.MissingMapping mapping : event.get()) {
|
||||
if(mapping.name.equals("TConstruct:TankAir"))
|
||||
mapping.ignore();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user