This commit is contained in:
yrsegal@gmail.com 2022-07-03 00:00:10 -04:00
parent 287fadc8ce
commit 2e76655d21

View file

@ -55,7 +55,7 @@ object OpTeleport : SpellAction {
}
}
if (teleportee is ServerPlayer) {
if (teleportee is ServerPlayer && teleportee == ctx.caster) {
// Drop items conditionally, based on distance teleported.
// MOST IMPORTANT: Never drop main hand item, since if it's a trinket, it will get duplicated later.