mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Merge branch 'master' of https://github.com/IntellectualSites/PlotSquared
This commit is contained in:
commit
d6be5703ae
@ -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")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user