1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-10-31 23:26:19 +00:00

Bump mappings version

This commit is contained in:
SquidDev 2020-04-29 16:23:18 +01:00
parent a3021c4697
commit f52b8fa2de
2 changed files with 3 additions and 3 deletions

View File

@ -4,4 +4,4 @@ mod_version=1.87.1
# Minecraft properties (update mods.toml when changing) # Minecraft properties (update mods.toml when changing)
mc_version=1.15.2 mc_version=1.15.2
forge_version=31.1.41 forge_version=31.1.41
mappings_version=20200410-1.15.1 mappings_version=20200429-1.15.1

View File

@ -47,13 +47,13 @@ public abstract class LootTableProvider implements IDataProvider
ValidationTracker validation = new ValidationTracker( LootParameterSets.GENERIC, x -> null, tables::get ); ValidationTracker validation = new ValidationTracker( LootParameterSets.GENERIC, x -> null, tables::get );
registerLoot( ( id, table ) -> { registerLoot( ( id, table ) -> {
if( tables.containsKey( id ) ) validation.func_227530_a_( "Duplicate loot tables for " + id ); if( tables.containsKey( id ) ) validation.addProblem( "Duplicate loot tables for " + id );
tables.put( id, table ); tables.put( id, table );
} ); } );
tables.forEach( ( key, value ) -> LootTableManager.func_227508_a_( validation, key, value ) ); tables.forEach( ( key, value ) -> LootTableManager.func_227508_a_( validation, key, value ) );
Multimap<String, String> problems = validation.func_227527_a_(); Multimap<String, String> problems = validation.getProblems();
if( !problems.isEmpty() ) if( !problems.isEmpty() )
{ {
problems.forEach( ( child, problem ) -> problems.forEach( ( child, problem ) ->