summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-15 13:15:22 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-15 13:15:22 -0200
commit59b5e43d45baae20f0dd535a413fd6b3b19d4c65 (patch)
tree2b451e1a7558a9cc974bdc92b5e7579d191a5652 /npc/items
parentc523a19a659f486e8b32f2bed0d8213e974f3465 (diff)
downloadserverdata-59b5e43d45baae20f0dd535a413fd6b3b19d4c65.tar.gz
serverdata-59b5e43d45baae20f0dd535a413fd6b3b19d4c65.tar.bz2
serverdata-59b5e43d45baae20f0dd535a413fd6b3b19d4c65.tar.xz
serverdata-59b5e43d45baae20f0dd535a413fd6b3b19d4c65.zip
Nobody bypass notrade check on shovel
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/shovel.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/items/shovel.txt b/npc/items/shovel.txt
index d6c95a09e..36a56756a 100644
--- a/npc/items/shovel.txt
+++ b/npc/items/shovel.txt
@@ -166,10 +166,10 @@ function script shovel_scatter {
.@id = requestitem();
// If ID is invalid, there's not enough items, it is an Iron Shovel, it is bound = Cannot bury
- // GMs bypass notrade check. (ITR_NONE is 0)
+ // NOBODY bypass notrade check. (ITR_NONE is 0)
if (.@id < 1) close;
if (.@id < 1 || countitem(.@id) < 1 || .@id == IronShovel || checkbound(.@id) ||
- (!is_gm() && !getiteminfo(.@id, ITEMINFO_TRADE))
+ (!getiteminfo(.@id, ITEMINFO_TRADE))
) {
@ShovelLastUsed = 0;
if (.@id == IronShovel || checkbound(.@id))