mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-08-16 16:37:07 +00:00
Fix Bending in GriefPrevention Regions
• Fixed bending being allowed in GP zones
This commit is contained in:
parent
1b60f5f7d7
commit
1a482cf6dd
|
@ -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