1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Fix a glitch where the player gets liquids in his inventory when the server lags

This commit is contained in:
PilzAdam 2013-01-04 16:47:29 +01:00
parent 5fa8852115
commit 0beabfc755

View File

@ -1063,6 +1063,7 @@ minetest.register_node("default:water_flowing", {
pointable = false, pointable = false,
diggable = false, diggable = false,
buildable_to = true, buildable_to = true,
drop = "",
liquidtype = "flowing", liquidtype = "flowing",
liquid_alternative_flowing = "default:water_flowing", liquid_alternative_flowing = "default:water_flowing",
liquid_alternative_source = "default:water_source", liquid_alternative_source = "default:water_source",
@ -1088,6 +1089,7 @@ minetest.register_node("default:water_source", {
pointable = false, pointable = false,
diggable = false, diggable = false,
buildable_to = true, buildable_to = true,
drop = "",
liquidtype = "source", liquidtype = "source",
liquid_alternative_flowing = "default:water_flowing", liquid_alternative_flowing = "default:water_flowing",
liquid_alternative_source = "default:water_source", liquid_alternative_source = "default:water_source",
@ -1119,6 +1121,7 @@ minetest.register_node("default:lava_flowing", {
pointable = false, pointable = false,
diggable = false, diggable = false,
buildable_to = true, buildable_to = true,
drop = "",
liquidtype = "flowing", liquidtype = "flowing",
liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source", liquid_alternative_source = "default:lava_source",
@ -1145,6 +1148,7 @@ minetest.register_node("default:lava_source", {
pointable = false, pointable = false,
diggable = false, diggable = false,
buildable_to = true, buildable_to = true,
drop = "",
liquidtype = "source", liquidtype = "source",
liquid_alternative_flowing = "default:lava_flowing", liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source", liquid_alternative_source = "default:lava_source",