mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-28 04:11:16 +00:00
refactor: unglob std::shared_ptr
This commit is contained in:
@@ -15,7 +15,7 @@ TilePlanterItem::TilePlanterItem(int id, Tile *tile) : Item(id)
|
||||
this->tileId = tile->id;
|
||||
}
|
||||
|
||||
bool TilePlanterItem::useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
|
||||
bool TilePlanterItem::useOn(std::shared_ptr<ItemInstance> instance, std::shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly)
|
||||
{
|
||||
// 4J-PB - Adding a test only version to allow tooltips to be displayed
|
||||
int currentTile = level->getTile(x, y, z);
|
||||
|
||||
Reference in New Issue
Block a user