summaryrefslogtreecommitdiffstats
path: root/Plugins/Core/main.lua
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 13:42:46 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-16 13:42:46 +0100
commit1b60fe14f888fa5d2199c6839bc190a803b97528 (patch)
tree9c5cefed1a77e3ed1f416dd0462c1d2329f93774 /Plugins/Core/main.lua
parentcSocket::GetErrorString() now also compiles on Cygwin (diff)
downloadcuberite-1b60fe14f888fa5d2199c6839bc190a803b97528.tar
cuberite-1b60fe14f888fa5d2199c6839bc190a803b97528.tar.gz
cuberite-1b60fe14f888fa5d2199c6839bc190a803b97528.tar.bz2
cuberite-1b60fe14f888fa5d2199c6839bc190a803b97528.tar.lz
cuberite-1b60fe14f888fa5d2199c6839bc190a803b97528.tar.xz
cuberite-1b60fe14f888fa5d2199c6839bc190a803b97528.tar.zst
cuberite-1b60fe14f888fa5d2199c6839bc190a803b97528.zip
Diffstat (limited to 'Plugins/Core/main.lua')
-rw-r--r--Plugins/Core/main.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/Plugins/Core/main.lua b/Plugins/Core/main.lua
index e057fb4ce..af1a49369 100644
--- a/Plugins/Core/main.lua
+++ b/Plugins/Core/main.lua
@@ -74,9 +74,7 @@ function Initialize( Plugin )
local ItemSyntax = itemsINI:GetValue(KeyID, i, "0")
local ItemData = StringSplit(ItemSyntax, ":") -- [1] = ID, [2] = perhaps meta/dmg
- --LOGINFO( "#ItemData: " .. #ItemData )
if( #ItemData > 0 ) then
- --LOGINFO("ItemData[0]: "..ItemData[1])
local ItemID = tonumber( ItemData[1] )
if( ItemID > 0 ) then
local ItemMeta = 0
@@ -84,7 +82,7 @@ function Initialize( Plugin )
ItemMeta = tonumber( ItemData[2] )
end
ItemsTable[ ItemName ] = cItem( ItemID, 1, ItemMeta )
- LOGINFO("Got item: " .. ItemName .. "-> " .. ItemsTable[ ItemName ].m_ItemID ..":" .. ItemsTable[ ItemName ].m_ItemHealth )
+ --LOGINFO("Got item: " .. ItemName .. "-> " .. ItemsTable[ ItemName ].m_ItemID ..":" .. ItemsTable[ ItemName ].m_ItemHealth )
end
end
end