Merge pull request #27 from shamoanjac/master

Fix
This commit is contained in:
agrecascino 2016-08-20 19:17:01 -04:00 committed by GitHub
commit 7a54c2e1db
6 changed files with 12 additions and 0 deletions

View File

@ -750,6 +750,10 @@ end
)
minetest.register_on_joinplayer(
function(player)
local faction = factions.get_player_faction(player:get_player_name())
if faction then
faction.last_logon = os.time()
end
end
)
minetest.register_on_respawnplayer(

View File

@ -22,6 +22,7 @@ factions_modpath = minetest.get_modpath("factions")
dofile (factions_modpath .. "/factions.lua")
dofile (factions_modpath .. "/chatcommands.lua")
dofile (factions_modpath .. "/nodes.lua")
factions.load()

7
nodes.lua Normal file
View File

@ -0,0 +1,7 @@
minetest.register_node("factions:chest", {
tiles = {"factions_chest_top", "factions_chest_top",
"factions_chest_side", "factions_chest_side",
"factions_chest_side", "factions_chest_front"},
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 B