summaryrefslogtreecommitdiff
path: root/src/main/java/darkknight/jewelrycraft/api/Curse.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/api/Curse.java')
-rw-r--r--src/main/java/darkknight/jewelrycraft/api/Curse.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/api/Curse.java b/src/main/java/darkknight/jewelrycraft/api/Curse.java
index 84e425f..5fe5642 100644
--- a/src/main/java/darkknight/jewelrycraft/api/Curse.java
+++ b/src/main/java/darkknight/jewelrycraft/api/Curse.java
@@ -214,6 +214,14 @@ public abstract class Curse
*/
public boolean canCurseBeActivated(World world)
{
+ return canCurseBeActivated();
+ }
+ /**
+ * This controls whether a curse can be activated or not (makes it easy to do things like disable certain curses if in hardcore)
+ * @return True for curses to be used; False otherwise (by default true)
+ */
+ public boolean canCurseBeActivated()
+ {
return true;
}