summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/net/flarn/noctis/item/ItemCatalyst.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/flarn/noctis/item/ItemCatalyst.java b/src/main/java/net/flarn/noctis/item/ItemCatalyst.java
index c396c91..16fb289 100644
--- a/src/main/java/net/flarn/noctis/item/ItemCatalyst.java
+++ b/src/main/java/net/flarn/noctis/item/ItemCatalyst.java
@@ -119,7 +119,7 @@ public class ItemCatalyst extends ItemNoctisBase {
if (nowTime.meetsNeed(TimeHelper.Times.NIGHT)) {
/* Reduce our age if it's getting high */
- if (entityItem.age == Numbers.CATALYST_AGE_RESET) {
+ if (entityItem.age >= Numbers.CATALYST_AGE_RESET) {
entityItem.age = 0;
}
/* Charge us up a little */