Switched the order of arguments in a method call to solve a typo.
@@ -47,7 +47,7 @@ public BlockAppearance(Map<BlockPart, BlockMeshPart> blockParts, Map<BlockPart,
this.blockParts = blockParts;
this.textureAtlasPos.putAll(textureAtlasPos);
for (BlockPart part : BlockPart.values()) {
- Preconditions.checkNotNull("Missing texture atlas position for part " + part, textureAtlasPos.get(part));
+ Preconditions.checkNotNull(textureAtlasPos.get(part), "Missing texture atlas position for part " + part);
}
}
