diff options
author | 4Evergreen4 <eljohnson@frontier.com> | 2014-08-21 17:32:57 -0400 |
---|---|---|
committer | 4Evergreen4 <eljohnson@frontier.com> | 2014-08-21 17:32:57 -0400 |
commit | e6f433d0c373c80ff06ee4e4592fa9319e8dca74 (patch) | |
tree | 63090785559b88c9bf7f0c30f582f605adf79490 | |
parent | a94e5872aafd46e9508f733a7955b7dd5599d5dd (diff) |
Small fix.
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ minetest.register_node("trash_can:trash_can_wooden",{ for i = 1, inv:get_size("main") do inv:set_stack("main", i, nil) end - minetest.sound_play("trash", {to_player=player_name, gain = 1.0}) + minetest.sound_play("trash", {to_player=sender:get_player_name(), gain = 1.0}) end end, }) |