mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-26 04:25:15 +01:00
IgnoreMaxJobs integrated into join command
This commit is contained in:
parent
14de3d35b4
commit
beaf423e00
@ -65,7 +65,7 @@ public class join implements Cmd {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Jobs.getPlayerManager().getJobsLimit(jPlayer, (short) jPlayer.progression.size())) {
|
if (!job.isIgnoreMaxJobs() && !Jobs.getPlayerManager().getJobsLimit(jPlayer, (short) jPlayer.progression.size())) {
|
||||||
pSender.sendMessage(Jobs.getLanguage().getMessage("command.join.error.maxjobs"));
|
pSender.sendMessage(Jobs.getLanguage().getMessage("command.join.error.maxjobs"));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user