Digging leaves with shears now drops leaves
Falling Sand now notifies water around Implemented Function to get the relative chunk position in the total position (cChunk::PositionToWorldPosition) Pistons don´t drop water and lava items anymore when stopping water/lava implemented Getter for lava and water simulator IsBlockWater and IsBlockLava function in Defines.h git-svn-id: http://mc-server.googlecode.com/svn/trunk@97 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -46,11 +46,16 @@ inline bool IsValidItem( int a_ItemID ) //tolua_export
|
||||
return IsValidBlock( a_ItemID );
|
||||
} //tolua_export
|
||||
|
||||
inline bool IsBlockWater (char a_BlockID)
|
||||
inline bool IsBlockWater(char a_BlockID)
|
||||
{
|
||||
return (a_BlockID == E_BLOCK_WATER || a_BlockID == E_BLOCK_STATIONARY_WATER);
|
||||
}
|
||||
|
||||
inline bool IsBlockLava(char a_BlockID)
|
||||
{
|
||||
return (a_BlockID == E_BLOCK_LAVA || a_BlockID == E_BLOCK_STATIONARY_LAVA);
|
||||
}
|
||||
|
||||
inline void AddDirection( int & a_X, char & a_Y, int & a_Z, char a_Direction, bool a_bInverse = false ) //tolua_export
|
||||
{//tolua_export
|
||||
if( !a_bInverse )
|
||||
|
||||
Reference in New Issue
Block a user