From 1beb5799b53d5da80ee78506e70cdeb31d773802 Mon Sep 17 00:00:00 2001 From: Nicolas F Date: Thu, 10 Jun 2021 17:22:23 +0200 Subject: [PATCH] textures: use new name for path block on 1.17 Fixes rendering with 1.17 textures and no 1.16 fallback, breaks rendering for anything using 1.16 textures. --- overviewer_core/textures.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overviewer_core/textures.py b/overviewer_core/textures.py index d6f38c6cd..07425efaa 100644 --- a/overviewer_core/textures.py +++ b/overviewer_core/textures.py @@ -2820,8 +2820,8 @@ def farmland(self, blockid, data): # dirt.png is 16 pixels tall, so we need to crop it before building full block side = side.crop((0, 1, 16, 16)) else: - top = self.load_image_texture("assets/minecraft/textures/block/grass_path_top.png") - side = self.load_image_texture("assets/minecraft/textures/block/grass_path_side.png") + top = self.load_image_texture("assets/minecraft/textures/block/dirt_path_top.png") + side = self.load_image_texture("assets/minecraft/textures/block/dirt_path_side.png") # side already has 1 transparent pixel at the top, so it doesn't need to be modified # just shift the top image down 1 pixel