mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-09 11:28:43 +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:
@@ -4,7 +4,7 @@
|
||||
#include "../Util/Facing.h"
|
||||
#include "../Headers/net.minecraft.world.level.h"
|
||||
|
||||
PistonExtensionTile::PistonExtensionTile(int id) : Tile(id, Material::piston,isSolidRender() )
|
||||
PistonExtensionTile::PistonExtensionTile(int id) : Tile(id, Material::piston, false)
|
||||
{
|
||||
// 4J added initialiser
|
||||
overrideTopTexture = NULL;
|
||||
@@ -207,4 +207,4 @@ int PistonExtensionTile::getFacing(int data)
|
||||
int PistonExtensionTile::cloneTileId(Level *level, int x, int y, int z)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user