From 64f70c2e2c7709c2fade2c4104e639980993e23c Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 16 Jun 2013 17:23:01 +0000 Subject: Core: fixed a warning message when using the /item command git-svn-id: http://mc-server.googlecode.com/svn/trunk@1600 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/Core/item.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3