summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-16 19:23:01 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-16 19:23:01 +0200
commit64f70c2e2c7709c2fade2c4104e639980993e23c (patch)
tree28272acd6c40c5a4968debc3aacd322846f3ae0c /MCServer
parentcItem: Added useful utility functions (diff)
downloadcuberite-64f70c2e2c7709c2fade2c4104e639980993e23c.tar
cuberite-64f70c2e2c7709c2fade2c4104e639980993e23c.tar.gz
cuberite-64f70c2e2c7709c2fade2c4104e639980993e23c.tar.bz2
cuberite-64f70c2e2c7709c2fade2c4104e639980993e23c.tar.lz
cuberite-64f70c2e2c7709c2fade2c4104e639980993e23c.tar.xz
cuberite-64f70c2e2c7709c2fade2c4104e639980993e23c.tar.zst
cuberite-64f70c2e2c7709c2fade2c4104e639980993e23c.zip
Diffstat (limited to '')
-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