mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-27 04:26:19 +00:00
uninitialized vptr
the vptr to isSolidRender() is not known before contruction of the Tile. Its true by default. if false, need to pass false. that is what i did. i verfied what isSolidRender() is in every file. and did exactly what isSolidRender() would return
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "../Headers/net.minecraft.h"
|
||||
#include "SkullTile.h"
|
||||
|
||||
SkullTile::SkullTile(int id) : EntityTile(id, Material::decoration, isSolidRender() )
|
||||
SkullTile::SkullTile(int id) : EntityTile(id, Material::decoration, false)
|
||||
{
|
||||
setShape(4.0f / 16.0f, 0, 4.0f / 16.0f, 12.0f / 16.0f, .5f, 12.0f / 16.0f);
|
||||
}
|
||||
@@ -267,4 +267,4 @@ std::wstring SkullTile::getTileItemIconName()
|
||||
{
|
||||
return L"";
|
||||
//return SkullItem::ICON_NAMES[0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user