diff options
author | cedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-12 20:56:17 +0200 |
---|---|---|
committer | cedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-12 20:56:17 +0200 |
commit | b2d8e74acfa8655b940a7efb82e5793c460fd989 (patch) | |
tree | a27805ec6cdbc4f090e8c67c9e1dc275cccc155c /source | |
parent | Added implementation of E_PLUGIN_CHUNK_GENERATING lua hook (diff) | |
download | cuberite-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.h | 4 |
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;
}
|