Add karambwans and wine to cooking plugin
Change "You cook the" to just "You cook" to potentially cover more food than just karambwans. Also add test for various cooking messages. Co-authored-by: MonsterxSync <william53142@gmail.com>
This commit is contained in:
@@ -109,7 +109,12 @@ public class CookingPlugin extends Plugin
|
||||
|
||||
final String message = event.getMessage();
|
||||
|
||||
if (message.startsWith("You successfully cook") || message.startsWith("You successfully bake") || message.startsWith("You manage to cook") || message.startsWith("You roast a"))
|
||||
if (message.startsWith("You successfully cook")
|
||||
|| message.startsWith("You successfully bake")
|
||||
|| message.startsWith("You manage to cook")
|
||||
|| message.startsWith("You roast a")
|
||||
|| message.startsWith("You cook")
|
||||
|| message.startsWith("You squeeze the grapes into the jug"))
|
||||
{
|
||||
if (session == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user