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:
Loki Rautio
2026-03-07 21:12:22 -06:00
parent a9be52c41a
commit 087b7e7abf
1373 changed files with 19449 additions and 19903 deletions

View File

@@ -26,7 +26,7 @@ void SignTile::updateDefaultShape()
AABB *SignTile::getAABB(Level *level, int x, int y, int z)
{
return nullptr;
return NULL;
}
AABB *SignTile::getTileAABB(Level *level, int x, int y, int z)
@@ -79,7 +79,7 @@ shared_ptr<TileEntity> SignTile::newTileEntity(Level *level)
{
//try {
// 4J Stu - For some reason the newInstance wasn't working right, but doing it like the other TileEntities is fine
return std::make_shared<SignTileEntity>();
return shared_ptr<TileEntity>( new SignTileEntity() );
//return dynamic_pointer_cast<TileEntity>( clas->newInstance() );
//} catch (Exception e) {
// TODO 4J Stu - Exception handling