Fix various issues

This commit is contained in:
William committed 2023-03-20 23:23:06 +00:00
1 parent 503898a0ef
commit 054811676d
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);
});
}
}