mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Fix Bending in GriefPrevention Regions
• Fixed bending being allowed in GP zones
This commit is contained in:
parent
1b60f5f7d7
commit
1a482cf6dd
1 changed files with 1 additions and 1 deletions
|
@ -1245,7 +1245,7 @@ public class GeneralMethods {
|
|||
|
||||
Claim claim = GriefPrevention.instance.dataStore.getClaimAt(loc, true, null);
|
||||
|
||||
if (reason != null && claim.siegeData != null) {
|
||||
if (reason != null && claim != null) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue