Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -10,7 +10,7 @@ MinecartSpawner::MinecartMobSpawner::MinecartMobSpawner(MinecartSpawner *parent)
|
||||
|
||||
void MinecartSpawner::MinecartMobSpawner::broadcastEvent(int id)
|
||||
{
|
||||
m_parent->level->broadcastEntityEvent(m_parent->shared_from_this(), static_cast<byte>(id));
|
||||
m_parent->level->broadcastEntityEvent(m_parent->shared_from_this(), (byte) id);
|
||||
}
|
||||
|
||||
Level *MinecartSpawner::MinecartMobSpawner::getLevel()
|
||||
|
||||
Reference in New Issue
Block a user