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:
@@ -17,7 +17,7 @@ class GCItemOnCat : InteractionListener() {
|
|||||||
|
|
||||||
onUseWith(NPC, Items.BUCKET_OF_MILK_1927, NPCs.GERTRUDES_CAT_2997) {player, used, with ->
|
onUseWith(NPC, Items.BUCKET_OF_MILK_1927, NPCs.GERTRUDES_CAT_2997) {player, used, with ->
|
||||||
if(questStage(player, GERTCAT) == 20 && removeItem(player, used.asItem())){
|
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
|
animate(player, BEND_DOWN) //bend down
|
||||||
sendChat(with.asNpc(), "Mew!")
|
sendChat(with.asNpc(), "Mew!")
|
||||||
setQuestStage(player, GERTCAT, 30)
|
setQuestStage(player, GERTCAT, 30)
|
||||||
|
|||||||
Reference in New Issue
Block a user