mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-13 16:48:13 +00:00
refactor: unglob std::shared_ptr
This commit is contained in:
@@ -100,7 +100,7 @@ bool CactusTile::canSurvive(Level *level, int x, int y, int z)
|
||||
return below == Tile::cactus_Id || below == Tile::sand_Id;
|
||||
}
|
||||
|
||||
void CactusTile::entityInside(Level *level, int x, int y, int z, shared_ptr<Entity> entity)
|
||||
void CactusTile::entityInside(Level *level, int x, int y, int z, std::shared_ptr<Entity> entity)
|
||||
{
|
||||
entity->hurt(DamageSource::cactus, 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user