diff --git a/BetterKill/main.lua b/BetterKill/main.lua index 3064e1d..cd847ef 100644 --- a/BetterKill/main.lua +++ b/BetterKill/main.lua @@ -78,8 +78,11 @@ function OnCommandIssued(args, player) entity:TakeDamage(17, nil, 9999999, 9999999, 0) i = i + 1 end - else - -- player:SendMessage("Apologies, but BetterKill does not currently support non-mobs!") + elseif entity:IsPickup() then + if (testMTStr == "mtItem") then + entity:SetLifetime(0) + i = i + 1 + end end end