summaryrefslogtreecommitdiff
path: root/extranodes/extramesecons.lua
diff options
context:
space:
mode:
authorthetaepsilon-gamedev <32034735+thetaepsilon-gamedev@users.noreply.github.com>2018-05-19 21:06:00 +0100
committerNathanaƫl Courant <Ekdohibs@users.noreply.github.com>2018-05-19 22:06:00 +0200
commitc93bfefd9fb66cab4a766b4e6a4d361a85503685 (patch)
tree46bf68bfa4798fea368317101782e40906388e9c /extranodes/extramesecons.lua
parent689766f15aad5186b35d21942ff853a7c2fc65bf (diff)
machines/HV/quarry.lua: [modification] provide a basic digger object to can_dig callbacks to prevent nil object errors (#425)
Minetest game's doors mod was known to cause server errors when passed a nil digger in it's can_dig callback, due to always attempting to invoke digger:get_player_name(). Fix this by providing a basic fake player which provides this method to can_dig callbacks. (It should be noted that currently this fix causes doors to be undiggable by quarries.)
Diffstat (limited to 'extranodes/extramesecons.lua')
0 files changed, 0 insertions, 0 deletions