Test Pull Request #4

Closed
chmodsayshello wants to merge 718 commits from Lodestone into mcl_sus_stew
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 310aba9c11 - Show all commits

View File

@ -21,14 +21,14 @@ local psdef= {
}
local function check_player(player)
local name=player:get_player_name(name)
local name=player:get_player_name(player)
if mcl_worlds.has_dust(player:get_pos()) and not mcl_weather.nether_dust.particlespawners[name] then
return true
end
end
mcl_weather.nether_dust.add_particlespawners = function(player)
local name=player:get_player_name(name)
local name=player:get_player_name(player)
mcl_weather.nether_dust.particlespawners[name]={}
psdef.playername = name
psdef.attached = player
@ -40,7 +40,7 @@ mcl_weather.nether_dust.add_particlespawners = function(player)
end
mcl_weather.nether_dust.delete_particlespawners = function(player)
local name=player:get_player_name(name)
local name=player:get_player_name(player)
if mcl_weather.nether_dust.particlespawners[name] then
for i=1,3 do
minetest.delete_particlespawner(mcl_weather.nether_dust.particlespawners[name][i])