Skip to content

Commit

Permalink
Prevent TankAir missing block warning for people who haven't updated yet
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Apr 3, 2015
1 parent 03ece54 commit 7488b48
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/tconstruct/TConstruct.java
Expand Up @@ -266,4 +266,13 @@ public static Detailing getChiselDetailing ()
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();
}
}
}

0 comments on commit 7488b48

Please sign in to comment.