Fix for rare NPE on player interact.

This commit is contained in:
ryanhamshire 2015-12-20 20:44:13 -08:00
parent 32d65b5f58
commit 2f17383890

View File

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