Fix a glitch where the player gets liquids in his inventory when the server lags
authorPilzAdam <PilzAdam@gmx.de>
Fri, 4 Jan 2013 15:47:29 +0000 (16:47 +0100)
committerPilzAdam <PilzAdam@gmx.de>
Fri, 4 Jan 2013 15:47:29 +0000 (16:47 +0100)
mods/default/init.lua

index b2ace5cd582c85963156550bb323fb1a6aaf93c5..d5a329322cfec3ce031b30a383c5b8290b763876 100644 (file)
@@ -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",