From: PilzAdam Date: Fri, 4 Jan 2013 15:47:29 +0000 (+0100) Subject: Fix a glitch where the player gets liquids in his inventory when the server lags X-Git-Tag: 0.4.5~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0beabfc7555860b0a1868532615f3d52d7ecceb4;p=oweals%2Fminetest_game.git Fix a glitch where the player gets liquids in his inventory when the server lags --- diff --git a/mods/default/init.lua b/mods/default/init.lua index b2ace5cd..d5a32932 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -1063,6 +1063,7 @@ minetest.register_node("default:water_flowing", { pointable = false, diggable = false, buildable_to = true, + drop = "", liquidtype = "flowing", liquid_alternative_flowing = "default:water_flowing", liquid_alternative_source = "default:water_source", @@ -1088,6 +1089,7 @@ minetest.register_node("default:water_source", { pointable = false, diggable = false, buildable_to = true, + drop = "", liquidtype = "source", liquid_alternative_flowing = "default:water_flowing", liquid_alternative_source = "default:water_source", @@ -1119,6 +1121,7 @@ minetest.register_node("default:lava_flowing", { pointable = false, diggable = false, buildable_to = true, + drop = "", liquidtype = "flowing", liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_source = "default:lava_source", @@ -1145,6 +1148,7 @@ minetest.register_node("default:lava_source", { pointable = false, diggable = false, buildable_to = true, + drop = "", liquidtype = "source", liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_source = "default:lava_source",