aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/WeighedTreasure.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/WeighedTreasure.h')
-rw-r--r--Minecraft.World/WeighedTreasure.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/WeighedTreasure.h b/Minecraft.World/WeighedTreasure.h
index a37bc6ae..c97def3d 100644
--- a/Minecraft.World/WeighedTreasure.h
+++ b/Minecraft.World/WeighedTreasure.h
@@ -13,7 +13,7 @@ public:
WeighedTreasure(int itemId, int auxValue, int minCount, int maxCount, int weight);
WeighedTreasure(shared_ptr<ItemInstance> item, int minCount, int maxCount, int weight);
- static void addChestItems(Random *random, WeighedTreasureArray items, shared_ptr<ChestTileEntity> dest, int numRolls);
+ static void addChestItems(Random *random, WeighedTreasureArray items, shared_ptr<Container> dest, int numRolls);
static void addDispenserItems(Random *random, WeighedTreasureArray items, shared_ptr<DispenserTileEntity> dest, int numRolls);
static WeighedTreasureArray addToTreasure(WeighedTreasureArray items, WeighedTreasure *extra);
}; \ No newline at end of file