mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Add filling tea for all tiers
This commit is contained in:
parent
6ea9151e1e
commit
0b721d2a78
1 changed files with 7 additions and 0 deletions
|
|
@ -134,6 +134,13 @@ class TeaInteraction : InteractionListener {
|
||||||
onUseWith(ITEM, t1teapot, Items.EMPTY_CUP_7728) { player, used, with ->
|
onUseWith(ITEM, t1teapot, Items.EMPTY_CUP_7728) { player, used, with ->
|
||||||
return@onUseWith fillBuildersTea(player, used, with)
|
return@onUseWith fillBuildersTea(player, used, with)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onUseWith(ITEM, t2teapot, Items.PORCELAIN_CUP_7732) { player, used, with ->
|
||||||
|
return@onUseWith fillBuildersTea(player, used, with)
|
||||||
|
}
|
||||||
|
onUseWith(ITEM, t3teapot, Items.PORCELAIN_CUP_7735) { player, used, with ->
|
||||||
|
return@onUseWith fillBuildersTea(player, used, with)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun fillBuildersTea(player: Player, used: Node, with: Node) : Boolean {
|
private fun fillBuildersTea(player: Player, used: Node, with: Node) : Boolean {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue