Disabled the excessive logging while initializing the Core plugin
git-svn-id: http://mc-server.googlecode.com/svn/trunk@271 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
85db35a3ba
commit
1b60fe14f8
@ -74,9 +74,7 @@ function Initialize( Plugin )
|
|||||||
local ItemSyntax = itemsINI:GetValue(KeyID, i, "0")
|
local ItemSyntax = itemsINI:GetValue(KeyID, i, "0")
|
||||||
|
|
||||||
local ItemData = StringSplit(ItemSyntax, ":") -- [1] = ID, [2] = perhaps meta/dmg
|
local ItemData = StringSplit(ItemSyntax, ":") -- [1] = ID, [2] = perhaps meta/dmg
|
||||||
--LOGINFO( "#ItemData: " .. #ItemData )
|
|
||||||
if( #ItemData > 0 ) then
|
if( #ItemData > 0 ) then
|
||||||
--LOGINFO("ItemData[0]: "..ItemData[1])
|
|
||||||
local ItemID = tonumber( ItemData[1] )
|
local ItemID = tonumber( ItemData[1] )
|
||||||
if( ItemID > 0 ) then
|
if( ItemID > 0 ) then
|
||||||
local ItemMeta = 0
|
local ItemMeta = 0
|
||||||
@ -84,7 +82,7 @@ function Initialize( Plugin )
|
|||||||
ItemMeta = tonumber( ItemData[2] )
|
ItemMeta = tonumber( ItemData[2] )
|
||||||
end
|
end
|
||||||
ItemsTable[ ItemName ] = cItem( ItemID, 1, ItemMeta )
|
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
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user