mirror of
https://github.com/Auxilor/EcoJobs.git
synced 2025-12-28 03:19:11 +00:00
Fix
This commit is contained in:
@@ -28,6 +28,10 @@ class CommandJobs(plugin: EcoPlugin) : PluginCommand(plugin, "jobs", "ecojobs.co
|
||||
return
|
||||
}
|
||||
|
||||
if (player.hasJob(job)) {
|
||||
player.sendMessage(plugin.langYml.getMessage("dont-have-job"))
|
||||
}
|
||||
|
||||
job.levelGUI.open(player)
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ messages:
|
||||
job-already-joined: "&cYou already have this job!"
|
||||
leave-current-job: "&cYou must leave your current job before joining a new one!"
|
||||
cant-leave-job: "&cYou can't leave the %job%&f job!"
|
||||
dont-have-job: "&cYou don't have this job unlocked!"
|
||||
|
||||
menu:
|
||||
title: "Jobs"
|
||||
|
||||
Reference in New Issue
Block a user