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:
@@ -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]));
|
||||||
|
Reference in New Issue
Block a user