forked from minetest-mods/player_monoids
Fix discrepancy between docs and actual functions
This commit is contained in:
parent
ef6f07b6fa
commit
cdb597629f
2
init.lua
2
init.lua
@ -59,7 +59,7 @@ local function monoid(def)
|
||||
return mon
|
||||
end
|
||||
|
||||
player_monoids.monoid = monoid
|
||||
player_monoids.make_monoid = monoid
|
||||
|
||||
function mon_meta:add_change(player, value)
|
||||
local p_name = player:get_player_name()
|
||||
|
@ -34,7 +34,7 @@ local function v_mult_fold(identity)
|
||||
end
|
||||
end
|
||||
|
||||
local monoid = player_monoids.monoid
|
||||
local monoid = player_monoids.make_monoid
|
||||
|
||||
-- Speed monoid. Effect values are speed multipliers. Must be nonnegative
|
||||
-- numbers.
|
||||
|
Loading…
Reference in New Issue
Block a user