diff --git a/Minecraft.World/ChestTile.cpp b/Minecraft.World/ChestTile.cpp index ff3c0b406..27e9ee97c 100644 --- a/Minecraft.World/ChestTile.cpp +++ b/Minecraft.World/ChestTile.cpp @@ -24,6 +24,11 @@ ChestTile::~ChestTile() delete random; } +void ChestTile::updateDefaultShape() +{ + setShape(1 / 16.0f, 0, 1 / 16.0f, 15 / 16.0f, 14 / 16.0f, 15 / 16.0f); +} + bool ChestTile::isSolidRender(bool isServerLevel) { return false; diff --git a/Minecraft.World/ChestTile.h b/Minecraft.World/ChestTile.h index 4fefeea9f..44b0aa432 100644 --- a/Minecraft.World/ChestTile.h +++ b/Minecraft.World/ChestTile.h @@ -57,4 +57,5 @@ public: virtual bool hasAnalogOutputSignal(); virtual int getAnalogOutputSignal(Level *level, int x, int y, int z, int dir); virtual void registerIcons(IconRegister *iconRegister); + void updateDefaultShape() override; }; \ No newline at end of file