mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Fix various issues
This commit is contained in:
35 files changed
+236
-243
No files matched your search
@@ -18,7 +18,10 @@ public class SetWarpCommand extends SetPositionCommand {
|
||||
plugin.getManager().warps().createWarp(event.getName(), event.getPosition());
|
||||
} catch (ValidationException e) {
|
||||
e.dispatchWarpError(setter, plugin, event.getName());
|
||||
return;
|
||||
}
|
||||
plugin.getLocales().getLocale("set_warp_success", event.getName())
|
||||
.ifPresent(setter::sendMessage);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user