mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Player online check for brew event
This commit is contained in:
parent
c490e34fc6
commit
6cb0beba8f
@ -228,7 +228,7 @@ public class JobsPaymentListener implements Listener {
|
||||
|
||||
JobsPlayer jPlayer = Jobs.getPlayerManager().getJobsPlayer(playerName);
|
||||
|
||||
if (jPlayer == null || !jPlayer.getPlayer().isOnline())
|
||||
if (jPlayer == null || !jPlayer.isOnline())
|
||||
return;
|
||||
|
||||
Player player = jPlayer.getPlayer();
|
||||
|
@ -25,6 +25,8 @@ Jobs:
|
||||
description: Earns money felling and planting trees
|
||||
# The colour of the name, for a full list of supported colours, go to the message config.
|
||||
ChatColour: GREEN
|
||||
# [OPTIONAL] The colour of the boss bar: GREEN, BLUE, RED, WHITE, YELLOW, PINK, PURPLE.
|
||||
BossBarColour: WHITE
|
||||
# Option to let you choose what kind of prefix this job adds to your name.
|
||||
# options are: full, title, job, shortfull, shorttitle, shortjob and none
|
||||
chat-display: full
|
||||
|
Loading…
Reference in New Issue
Block a user