mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
fix argument order in ColorProviderMod test
This commit is contained in:
parent
9de92b1cd5
commit
530f40e04b
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class ColorProviderMod implements ClientModInitializer {
|
|||
LOGGER.info("Initialising ColorProviderMod");
|
||||
|
||||
// Redstone is now the same color as grass
|
||||
ColorProviderRegistry.BLOCK.register((block, pos, world, layer) -> {
|
||||
ColorProviderRegistry.BLOCK.register((block, world, pos, layer) -> {
|
||||
BlockColorMapper provider = ColorProviderRegistry.BLOCK.get(Blocks.GRASS);
|
||||
return provider == null ? -1 : provider.getColor(block, pos, world, layer);
|
||||
}, Blocks.REDSTONE_WIRE);
|
||||
|
|
Loading…
Reference in a new issue