1
0
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:
Zrips 2017-01-11 13:33:32 +02:00
parent c490e34fc6
commit 6cb0beba8f
2 changed files with 3 additions and 1 deletions

View File

@ -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();

View File

@ -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