BroadcastBlockBreakAnimation and BroadcastBlockEntity use vectors (#4038)
This commit is contained in:
@@ -122,7 +122,7 @@ bool cMobSpawnerEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
|
||||
void cMobSpawnerEntity::ResetTimer(void)
|
||||
{
|
||||
m_SpawnDelay = GetRandomProvider().RandInt<short>(200, 800);
|
||||
m_World->BroadcastBlockEntity(m_PosX, m_PosY, m_PosZ);
|
||||
m_World->BroadcastBlockEntity(GetPos());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user