Fixed a bug with Gertrude's Cat where it would give you the wrong bucket back when feeding the cat

This commit is contained in:
Ceikry
2022-04-09 02:22:35 +00:00
committed by Ryan
parent 592be2d79b
commit 11abc4bbab
@@ -17,7 +17,7 @@ class GCItemOnCat : InteractionListener() {
onUseWith(NPC, Items.BUCKET_OF_MILK_1927, NPCs.GERTRUDES_CAT_2997) {player, used, with ->
if(questStage(player, GERTCAT) == 20 && removeItem(player, used.asItem())){
addItem(player, Items.EMPTY_BUCKET_3727)
addItem(player, Items.BUCKET_1925)
animate(player, BEND_DOWN) //bend down
sendChat(with.asNpc(), "Mew!")
setQuestStage(player, GERTCAT, 30)