mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-02 13:10:55 +00:00
Forgot to add mkdir after reworking logic.
This commit is contained in:
parent
6b4bd2a987
commit
fb1fd1a6e5
@ -15,6 +15,7 @@ class UpdateCommand : CommandExecutor {
|
||||
args: Array<out String>
|
||||
): Boolean {
|
||||
val updateDir = sender.server.pluginsFolder.resolve("update")
|
||||
updateDir.mkdir()
|
||||
if (!updateDir.exists()) {
|
||||
sender.sendMessage("Error: Failed to create plugin update directory.")
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user