summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Defines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Defines.h b/source/Defines.h
index ddf18dc48..486e0a4a7 100644
--- a/source/Defines.h
+++ b/source/Defines.h
@@ -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;
}