Fix for rare NPE on player interact.
This commit is contained in:
parent
32d65b5f58
commit
2f17383890
|
|
@ -1142,6 +1142,7 @@ GriefPrevention.AddLogEntry(direction.toString());
|
||||||
//attempt resize
|
//attempt resize
|
||||||
playerData.claimResizing = claim;
|
playerData.claimResizing = claim;
|
||||||
this.dataStore.resizeClaimWithChecks(player, playerData, newx1, newx2, newy1, newy2, newz1, newz2);
|
this.dataStore.resizeClaimWithChecks(player, playerData, newx1, newx2, newy1, newy2, newz1, newz2);
|
||||||
|
playerData.claimResizing = null;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user