diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-19 16:27:27 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2018-02-19 16:27:27 +0100 |
commit | 7335e729da097b0b8aea81b2fec807465eff6181 (patch) | |
tree | 50ce280af6d4198769c790d238b163fbdda77f42 | |
parent | 30153fd5e6d365ab60b7a60c4403bcb6b4b8a08e (diff) |
add jailed propertyHEADorigin/masterorigin/HEADmaster
-rw-r--r-- | init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,7 @@ function banish.xbanish(name, param) type = "jail", } xban.add_record(plname, record) + xban.add_property(plname, "jailed", true) if beds.spawn[plname] then banish.spawn[plname] = beds.spawn[plname] else @@ -63,6 +64,7 @@ function banish.xunbanish(name, param) type = "unjail", } xban.add_record(plname, record) + xban.add_property(plname, "jailed", nil) beds.spawn[plname] = banish.spawn[plname] beds.save_spawns() minetest.set_player_privs(plname, {interact=true, shout=true, home=true}) |