More Vector3 in cBlockHandler (#4644)
* cBlockHandler.OnUpdate uses Vector3 params. Also slightly changed how block ticking works.
This commit is contained in:
@@ -84,7 +84,7 @@ bool cBlockHandler::GetPlacementBlockTypeMeta(
|
||||
|
||||
|
||||
|
||||
void cBlockHandler::OnUpdate(cChunkInterface & cChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, int a_BlockX, int a_BlockY, int a_BlockZ)
|
||||
void cBlockHandler::OnUpdate(cChunkInterface & a_ChunkInterface, cWorldInterface & a_WorldInterface, cBlockPluginInterface & a_PluginInterface, cChunk & a_Chunk, const Vector3i a_RelPos)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user