Fixed typo in Taverly chest message

Added period to end of some cooking messages
This commit is contained in:
Player Name
2023-09-16 01:15:13 +00:00
committed by Ryan
parent 8148a453d0
commit 8a87fa488d
2 changed files with 5 additions and 5 deletions
@@ -192,15 +192,15 @@ public class StandardCookingPulse extends Pulse {
} }
if (!burned && food.getName().startsWith("Raw")) { if (!burned && food.getName().startsWith("Raw")) {
return "You manage to cook some " + food.getName().replace("Raw ", ""); return "You manage to cook some " + food.getName().replace("Raw ", "") + ".";
} else if (burned && food.getName().startsWith("Raw")) { } else if (burned && food.getName().startsWith("Raw")) {
return "You accidentally burn some " + food.getName().replace("Raw ", ""); return "You accidentally burn some " + food.getName().replace("Raw ", "") + ".";
} }
if (!burned && food.getName().startsWith(("Uncooked"))) { if (!burned && food.getName().startsWith(("Uncooked"))) {
return "You manage to cook some " + food.getName().replace("Uncooked ", ""); return "You manage to cook some " + food.getName().replace("Uncooked ", "") + ".";
} else if (burned && food.getName().startsWith(("Uncooked"))) { } else if (burned && food.getName().startsWith(("Uncooked"))) {
return "You accidentally burn some " + food.getName().replace("Uncooked ", ""); return "You accidentally burn some " + food.getName().replace("Uncooked ", "") + ".";
} }
return null; return null;
} }
@@ -79,7 +79,7 @@ public final class CrystalChestPlugin extends UseWithHandler {
player.getInventory().add(i, player); player.getInventory().add(i, player);
} }
player.getPacketDispatch().sendMessage("You unlock the chest with your key."); player.getPacketDispatch().sendMessage("You unlock the chest with your key.");
player.getPacketDispatch().sendMessage("You find some teasure in the chest!"); player.getPacketDispatch().sendMessage("You find some treasure in the chest!");
} }
return true; return true;
} }