summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/Core/item.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/Core/item.lua b/MCServer/Plugins/Core/item.lua
index 30e8820a9..86ff0576f 100644
--- a/MCServer/Plugins/Core/item.lua
+++ b/MCServer/Plugins/Core/item.lua
@@ -4,7 +4,7 @@ function HandleItemCommand(Split, Player)
return true;
end
- local Item = cItem(E_ITEM_EMPTY, 1);
+ local Item = cItem();
local FoundItem = StringToItem(Split[2], Item);
if not(IsValidItem(Item.m_ItemType)) then -- StringToItem does not check if item is valid