From b2d8e74acfa8655b940a7efb82e5793c460fd989 Mon Sep 17 00:00:00 2001 From: "cedeel@gmail.com" Date: Tue, 12 Jun 2012 18:56:17 +0000 Subject: Allow current items git-svn-id: http://mc-server.googlecode.com/svn/trunk@595 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Defines.h | 4 ++-- 1 file 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; } -- cgit v1.2.3