remove unused FlammableBlockRegistryImpl code

This commit is contained in:
Adrian Siekierka 2019-02-09 16:41:20 +01:00
parent 2d246adb3e
commit 562d9fce4e

View file

@ -44,8 +44,6 @@ public class FlammableBlockRegistryImpl implements FlammableBlockRegistry, Ident
private final Map<Block, FlammableBlockRegistry.Entry> registeredEntriesBlock = new HashMap<>();
private final Map<Tag<Block>, FlammableBlockRegistry.Entry> registeredEntriesTag = new HashMap<>();
private final Map<Block, FlammableBlockRegistry.Entry> computedEntries = new HashMap<>();
private final Object2IntMap<Block> computedBurnChances = new Object2IntOpenHashMap<>();
private final Object2IntMap<Block> computedSpreadChances = new Object2IntOpenHashMap<>();
private final Identifier id;
private final Block key;
private boolean tagsPresent = false;
@ -79,14 +77,14 @@ public class FlammableBlockRegistryImpl implements FlammableBlockRegistry, Ident
}
computedEntries.putAll(registeredEntriesBlock);
computedBurnChances.clear();
/* computedBurnChances.clear();
computedSpreadChances.clear();
for (Block block : computedEntries.keySet()) {
FlammableBlockRegistry.Entry entry = computedEntries.get(block);
computedBurnChances.put(block, entry.getBurnChance());
computedSpreadChances.put(block, entry.getSpreadChance());
}
} */
}
// User-facing fire registry interface - queries vanilla fire block