diff options
Diffstat (limited to 'Minecraft.World/CropTile.cpp')
| -rw-r--r-- | Minecraft.World/CropTile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/CropTile.cpp b/Minecraft.World/CropTile.cpp index 80540b6a..0c19d889 100644 --- a/Minecraft.World/CropTile.cpp +++ b/Minecraft.World/CropTile.cpp @@ -133,7 +133,7 @@ void CropTile::spawnResources(Level *level, int x, int y, int z, int data, float for (int i = 0; i < count; i++) { if (level->random->nextInt(5 * 3) > data) continue; - popResource(level, x, y, z, std::shared_ptr<ItemInstance>(new ItemInstance(getBaseSeedId(), 1, 0))); + popResource(level, x, y, z, shared_ptr<ItemInstance>(new ItemInstance(getBaseSeedId(), 1, 0))); } } } |
