Allow current items
git-svn-id: http://mc-server.googlecode.com/svn/trunk@595 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
373dac3204
commit
b2d8e74acf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user