Glass making now returns the correct type of bucket

This commit is contained in:
Ann 2024-03-26 01:47:42 +00:00 committed by Ryan
parent c96fa24999
commit 3b967791a4

View file

@ -25,7 +25,7 @@ class GlassMakePulse(
sendMessage(player, "You heat the sand and soda ash in the furnace to make glass.") sendMessage(player, "You heat the sand and soda ash in the furnace to make glass.")
if (removeItem(player, Items.SODA_ASH_1781) && removeItem(player, Items.BUCKET_OF_SAND_1783)) { if (removeItem(player, Items.SODA_ASH_1781) && removeItem(player, Items.BUCKET_OF_SAND_1783)) {
addItem(player, Items.EMPTY_BUCKET_3727) addItem(player, Items.BUCKET_1925)
addItem(player, Items.MOLTEN_GLASS_1775) addItem(player, Items.MOLTEN_GLASS_1775)
rewardXP(player, Skills.CRAFTING, 20.0) rewardXP(player, Skills.CRAFTING, 20.0)
player.dispatch(ResourceProducedEvent(product, amount, player)) player.dispatch(ResourceProducedEvent(product, amount, player))