Signed-off-by: MattBDev <mattbdev@outlook.com>
This commit is contained in:
MattBDev 2016-10-10 00:18:35 -04:00
parent 5978c9c3c0
commit a05fd2dd11

View File

@ -59,8 +59,11 @@ public abstract class EventUtil {
public abstract void callMember(PlotPlayer initiator, Plot plot, UUID player, boolean added); public abstract void callMember(PlotPlayer initiator, Plot plot, UUID player, boolean added);
public void doJoinTask(final PlotPlayer player) { public void doJoinTask(final PlotPlayer player) {
if (player == null) {
return; //possible future warning message to figure out where we are retrieving null
}
if (ExpireManager.IMP != null) { if (ExpireManager.IMP != null) {
ExpireManager.IMP.handleJoin(player); ExpireManager.IMP.handleJoin(player);
} }
if (PS.get().worldedit != null) { if (PS.get().worldedit != null) {
if (player.getAttribute("worldedit")) { if (player.getAttribute("worldedit")) {