1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-24 07:13:17 +02:00

Don't charge a user if warp already exists (and they can't set it).

This commit is contained in:
KHobbits
2012-01-17 19:25:56 +00:00
parent ee88abafcf
commit 27b0cc86de

View File

@@ -39,8 +39,7 @@ public class Commandsetwarp extends EssentialsCommand
} }
else else
{ {
user.sendMessage(_("warpOverwrite")); throw new Exception(_("warpOverwrite"));
return;
} }
user.sendMessage(_("warpSet", args[0])); user.sendMessage(_("warpSet", args[0]));