mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-02 23:43:44 +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);
|
JobsPlayer jPlayer = Jobs.getPlayerManager().getJobsPlayer(playerName);
|
||||||
|
|
||||||
if (jPlayer == null || !jPlayer.getPlayer().isOnline())
|
if (jPlayer == null || !jPlayer.isOnline())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Player player = jPlayer.getPlayer();
|
Player player = jPlayer.getPlayer();
|
||||||
|
@ -25,6 +25,8 @@ Jobs:
|
|||||||
description: Earns money felling and planting trees
|
description: Earns money felling and planting trees
|
||||||
# The colour of the name, for a full list of supported colours, go to the message config.
|
# The colour of the name, for a full list of supported colours, go to the message config.
|
||||||
ChatColour: GREEN
|
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.
|
# 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
|
# options are: full, title, job, shortfull, shorttitle, shortjob and none
|
||||||
chat-display: full
|
chat-display: full
|
||||||
|
Loading…
Reference in New Issue
Block a user