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:
parent
a3021c4697
commit
f52b8fa2de
@ -4,4 +4,4 @@ mod_version=1.87.1
|
||||
# Minecraft properties (update mods.toml when changing)
|
||||
mc_version=1.15.2
|
||||
forge_version=31.1.41
|
||||
mappings_version=20200410-1.15.1
|
||||
mappings_version=20200429-1.15.1
|
||||
|
@ -47,13 +47,13 @@ public abstract class LootTableProvider implements IDataProvider
|
||||
ValidationTracker validation = new ValidationTracker( LootParameterSets.GENERIC, x -> null, tables::get );
|
||||
|
||||
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.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() )
|
||||
{
|
||||
problems.forEach( ( child, problem ) ->
|
||||
|
Loading…
Reference in New Issue
Block a user