diff options
| author | Bajahaw <rathi7137@gmail.com> | 2024-11-12 17:45:44 +0100 |
|---|---|---|
| committer | MiniDigger | Martin <admin@benndorf.dev> | 2024-11-12 18:30:13 +0100 |
| commit | 5994ffb45497888e3713a5faf5ac73ed6dec4f0b (patch) | |
| tree | 2154460d2d04e928ca6a1bcd691c9e921eadaa9c | |
| parent | 3edd9bd1ca33b0635a79cb080d10dca6d28a5327 (diff) | |
fixed typo and improved clarity
| -rw-r--r-- | src/main/java/org/drtshock/Potato.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/drtshock/Potato.java b/src/main/java/org/drtshock/Potato.java index eeb051e..e648378 100644 --- a/src/main/java/org/drtshock/Potato.java +++ b/src/main/java/org/drtshock/Potato.java @@ -113,9 +113,9 @@ public class Potato implements Tuber { } /** - * Checks if the potato is succesfully boiled at the right amount of degrees. + * Checks if the potato is successfully boiled at the right amount of degrees. * - * @return true if the potato has succesfully been boiled, false if otherwise + * @return true if the potato has successfully been boiled, false if otherwise * @throws BurntException if the potato has been burned during the process of cooking */ public boolean hasBeenBoiledInWater() throws BurntException { @@ -195,7 +195,7 @@ public class Potato implements Tuber { * @return true if expired, false if otherwise */ public boolean isExpired() { - return expired; + return this.expired; } /** |
