forked from mff/fishing
fix typo
This commit is contained in:
parent
d0a79be624
commit
7a88dd9e1f
@ -584,7 +584,7 @@ minetest.register_chatcommand("contest_start", {
|
|||||||
privs = {server=true},
|
privs = {server=true},
|
||||||
func = function(player_name, param)
|
func = function(player_name, param)
|
||||||
if not player_name then return end
|
if not player_name then return end
|
||||||
if fishing_setting.contest["contest"] == true end
|
if fishing_setting.contest["contest"] == true then
|
||||||
return false, "Contest already in progress."
|
return false, "Contest already in progress."
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -604,7 +604,7 @@ minetest.register_chatcommand("contest_stop", {
|
|||||||
privs = {server=true},
|
privs = {server=true},
|
||||||
func = function(player_name, param)
|
func = function(player_name, param)
|
||||||
if not player_name then return end
|
if not player_name then return end
|
||||||
if fishing_setting.contest["contest"] == false end
|
if fishing_setting.contest["contest"] == false then
|
||||||
return false, "No contest in progress."
|
return false, "No contest in progress."
|
||||||
end
|
end
|
||||||
fishing_setting.func.end_contest()
|
fishing_setting.func.end_contest()
|
||||||
|
Loading…
Reference in New Issue
Block a user