99aec737d5
A low-level player teleportation must be explicitly declared nodecorian via a keepinv property on the position, or the player must be exempted via the keepinv priv, to be allowed to teleport without leaving the inventory behind. This means that naive mods like /home commands will now work correctly and teleport only the player, and not items.
13 lines
309 B
Lua
13 lines
309 B
Lua
-- LUALOCALS < ---------------------------------------------------------
|
|
local include, nodecore
|
|
= include, nodecore
|
|
-- LUALOCALS > ---------------------------------------------------------
|
|
|
|
nodecore.amcoremod()
|
|
|
|
include("api")
|
|
include("intercept")
|
|
include("dropall")
|
|
include("hints")
|
|
include("teleport")
|