From 59799cad7771597dd58e8a26edcdcecfa37c0624 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Sat, 15 Aug 2015 12:34:37 +0100 Subject: Added a config option to disable curses. --- src/main/java/darkknight/jewelrycraft/api/Curse.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/java/darkknight/jewelrycraft/api/Curse.java') 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 @@ -213,6 +213,14 @@ public abstract class Curse * @return True for curses to be used; False otherwise (by default true) */ 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; } -- cgit v1.2.3