summaryrefslogtreecommitdiffstats
path: root/EssentialsSigns/src
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsSigns/src')
-rw-r--r--EssentialsSigns/src/net/ess3/signs/signs/SignKit.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/EssentialsSigns/src/net/ess3/signs/signs/SignKit.java b/EssentialsSigns/src/net/ess3/signs/signs/SignKit.java
index 847816db8..fbd32b9f6 100644
--- a/EssentialsSigns/src/net/ess3/signs/signs/SignKit.java
+++ b/EssentialsSigns/src/net/ess3/signs/signs/SignKit.java
@@ -1,5 +1,6 @@
package net.ess3.signs.signs;
+import static net.ess3.I18n._;
import java.util.Locale;
import net.ess3.api.ChargeException;
import net.ess3.api.IEssentials;
@@ -72,6 +73,9 @@ public class SignKit extends EssentialsSign
}
return true;
}
- return false;
+ else
+ {
+ throw new SignException(_("noKitPermission", "essentials.kits." + kitName));
+ }
}
}