From 1db787c4ed4dcd5adc6d6f6c9230ee816948d32c Mon Sep 17 00:00:00 2001 From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Tue, 30 Jun 2020 02:48:44 -0400 Subject: [PATCH] Fix ice transparency causing performance problems --- mods/main/nodes.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/main/nodes.lua b/mods/main/nodes.lua index 28b8b13..05af3bc 100644 --- a/mods/main/nodes.lua +++ b/mods/main/nodes.lua @@ -177,7 +177,7 @@ minetest.register_node("main:glass", { minetest.register_node("main:ice", { description = "Ice", tiles = {"ice.png"}, - drawtype = "glasslike", + drawtype = "normal", paramtype = "light", sunlight_propagates = true, sunlight_propagates = true, @@ -187,8 +187,8 @@ minetest.register_node("main:ice", { footstep = {name = "glass_footstep", gain = 0.4}, dug = {name = "break_glass", gain = 0.4}, }), - use_texture_alpha = false, - alpha = 100, + --use_texture_alpha = false, + --alpha = 100, drop = "", after_destruct = function(pos, oldnode) minetest.set_node(pos, {name="main:water"}) -- 2.44.0