summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-12 20:56:17 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-12 20:56:17 +0200
commitb2d8e74acfa8655b940a7efb82e5793c460fd989 (patch)
treea27805ec6cdbc4f090e8c67c9e1dc275cccc155c /source
parentAdded implementation of E_PLUGIN_CHUNK_GENERATING lua hook (diff)
downloadcuberite-b2d8e74acfa8655b940a7efb82e5793c460fd989.tar
cuberite-b2d8e74acfa8655b940a7efb82e5793c460fd989.tar.gz
cuberite-b2d8e74acfa8655b940a7efb82e5793c460fd989.tar.bz2
cuberite-b2d8e74acfa8655b940a7efb82e5793c460fd989.tar.lz
cuberite-b2d8e74acfa8655b940a7efb82e5793c460fd989.tar.xz
cuberite-b2d8e74acfa8655b940a7efb82e5793c460fd989.tar.zst
cuberite-b2d8e74acfa8655b940a7efb82e5793c460fd989.zip
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;
}