Don't require nearbytrust for subclaims

This commit is contained in:
destro174 2022-03-19 21:03:54 +01:00
parent 190f5cc1c0
commit 125e3b66db

View File

@ -959,7 +959,7 @@ public abstract class DataStore
}
}
if (creatingPlayer != null && !newClaim.canCleaimNear(creatingPlayer, 100)) {
if (creatingPlayer != null && !newClaim.canCleaimNear(creatingPlayer, 100) && newClaim.parent == null) {
result.succeeded = false;
result.claim = null;
return result;