fix build errors after merge

This commit is contained in:
octarine-noise
2017-05-06 09:47:08 +02:00
parent fde6c47ed3
commit 61076789db

View File

@@ -95,7 +95,7 @@ object Client {
val blockName = Block.REGISTRY.getNameForObject(state.block).toString()
val blockLoc = "${location.x},${location.y},${location.z}"
Minecraft.getMinecraft().thePlayer.addChatMessage(TextComponentTranslation(
Minecraft.getMinecraft().ingameGUI.chatGUI.printChatMessage(TextComponentTranslation(
"betterfoliage.rendererror",
textComponent(blockName, TextFormatting.GOLD),
textComponent(blockLoc, TextFormatting.GOLD)