1
0

Allow current items

git-svn-id: http://mc-server.googlecode.com/svn/trunk@595 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
cedeel@gmail.com 2012-06-12 18:56:17 +00:00
parent 373dac3204
commit b2d8e74acf

View File

@ -41,8 +41,8 @@ inline bool IsValidBlock( int a_BlockID ) //tolua_export
// Changed to fit the style ;)
inline bool IsValidItem( int a_ItemID ) //tolua_export
{ //tolua_export
if( (a_ItemID >= 256 && a_ItemID <= 383)
|| (a_ItemID == 2256 || a_ItemID == 2257) )
if( (a_ItemID >= 256 && a_ItemID <= 388)
|| (a_ItemID => 2256 && a_ItemID <= 2266) )
{
return true;
}