mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
Merge pull request #463 from StrangeOne101/master
Fix Bending in GriefPrevention Regions
This commit is contained in:
commit
3b36954cb8
|
@ -1245,7 +1245,7 @@ public class GeneralMethods {
|
||||||
|
|
||||||
Claim claim = GriefPrevention.instance.dataStore.getClaimAt(loc, true, null);
|
Claim claim = GriefPrevention.instance.dataStore.getClaimAt(loc, true, null);
|
||||||
|
|
||||||
if (reason != null && claim.siegeData != null) {
|
if (reason != null && claim != null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue