Bugfix: avoid items in the players editor section to be placed for an instant when right-clicking
This commit is contained in:
parent
39cc5b87a2
commit
4ff0d3f56e
@ -23,6 +23,7 @@ minetest.register_node("arena_lib:players_min", {
|
||||
description = S("Players required"),
|
||||
inventory_image = "arenalib_tool_players_min.png",
|
||||
wield_image = "arenalib_tool_players_min.png",
|
||||
node_placement_prediction = "",
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
@ -46,6 +47,7 @@ minetest.register_node("arena_lib:players_max", {
|
||||
description = S("Players supported (right click to remove the limit)"),
|
||||
inventory_image = "arenalib_tool_players_max.png",
|
||||
wield_image = "arenalib_tool_players_max.png",
|
||||
node_placement_prediction = "",
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
@ -77,6 +79,7 @@ minetest.register_node("arena_lib:players_max_inf", {
|
||||
description = S("Players supported (click to set a limit)"),
|
||||
inventory_image = "arenalib_tool_players_max_inf.png",
|
||||
wield_image = "arenalib_tool_players_max_inf.png",
|
||||
node_placement_prediction = "",
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
@ -101,6 +104,7 @@ minetest.register_node("arena_lib:players_teams_amount", {
|
||||
description = S("Teams amount"),
|
||||
inventory_image = "arenalib_tool_players_teams_amount.png",
|
||||
wield_image = "arenalib_tool_players_teams_amount.png",
|
||||
node_placement_prediction = "",
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_place = function() end,
|
||||
on_drop = function() end,
|
||||
@ -124,6 +128,7 @@ minetest.register_node("arena_lib:players_change", {
|
||||
description = S("Change value (LMB increases, RMB decreases)"),
|
||||
inventory_image = "arenalib_tool_players_change.png",
|
||||
wield_image = "arenalib_tool_players_change.png",
|
||||
node_placement_prediction = "",
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
on_drop = function() end,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user