mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Add more unit tests
This commit is contained in:
8 files changed
+368
-18
No files matched your search
@@ -55,7 +55,7 @@ public class EditWarpCommand extends SavedPositionCommand<Warp> {
|
||||
warp.getMeta().setName(optionalName.get());
|
||||
plugin.fireEvent(plugin.getWarpEditEvent(warp, executor), (event) -> {
|
||||
try {
|
||||
plugin.getManager().warps().renameWarp(warp, warp.getName());
|
||||
plugin.getManager().warps().setWarpName(warp, warp.getName());
|
||||
} catch (ValidationException e) {
|
||||
e.dispatchWarpError(executor, plugin, warp.getName());
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user