Merge pull request #13222 from leejt/patch-3

This commit is contained in:
Jordan
2021-02-16 07:32:52 +00:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -174,9 +174,16 @@ public class CookingPlugin extends Plugin
if (message.startsWith("You successfully cook") if (message.startsWith("You successfully cook")
|| message.startsWith("You successfully bake") || message.startsWith("You successfully bake")
|| message.startsWith("You successfully fry")
|| message.startsWith("You manage to cook") || message.startsWith("You manage to cook")
|| message.startsWith("You roast a") || message.startsWith("You roast a")
|| message.startsWith("You spit-roast")
|| message.startsWith("You cook") || message.startsWith("You cook")
|| message.startsWith("Eventually the Jubbly")
|| message.startsWith("You half-cook")
|| message.startsWith("The undead meat is now cooked")
|| message.startsWith("The undead chicken is now cooked")
|| message.startsWith("You successfully scramble")
|| message.startsWith("You dry a piece of meat")) || message.startsWith("You dry a piece of meat"))
{ {
if (session == null) if (session == null)
@@ -189,6 +196,8 @@ public class CookingPlugin extends Plugin
} }
else if (message.startsWith("You accidentally burn") else if (message.startsWith("You accidentally burn")
|| message.startsWith("You burn")
|| message.startsWith("Unfortunately the Jubbly")
|| message.startsWith("You accidentally spoil")) || message.startsWith("You accidentally spoil"))
{ {
if (session == null) if (session == null)

View File

@@ -85,6 +85,9 @@ public class CrowdsourcingCooking
|| message.startsWith("Unfortunately the Jubbly") || message.startsWith("Unfortunately the Jubbly")
|| message.startsWith("You accidentally burn") || message.startsWith("You accidentally burn")
|| message.startsWith("You half-cook") || message.startsWith("You half-cook")
|| message.startsWith("The undead meat is now cooked")
|| message.startsWith("The undead chicken is now cooked")
|| message.startsWith("You successfully scramble")
|| message.startsWith("You accidentally spoil")) || message.startsWith("You accidentally spoil"))
{ {
boolean inHosidiusKitchen = false; boolean inHosidiusKitchen = false;