diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/signs/SignKit.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/signs/SignKit.java b/Essentials/src/com/earth2me/essentials/signs/SignKit.java index 1c3528a18..6b856fc36 100644 --- a/Essentials/src/com/earth2me/essentials/signs/SignKit.java +++ b/Essentials/src/com/earth2me/essentials/signs/SignKit.java @@ -1,5 +1,6 @@ package com.earth2me.essentials.signs; +import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.*; import com.earth2me.essentials.commands.NoChargeException; import java.util.List; @@ -73,6 +74,9 @@ public class SignKit extends EssentialsSign } return true; } - return false; + else + { + throw new SignException(_("noKitPermission", "essentials.kits." + kitName)); + } } } |