mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2025-02-11 03:30:10 +00:00
WorldGuard Fix: An if statement was incorrect
This commit is contained in:
parent
1da91706da
commit
63a294baf7
1 changed files with 1 additions and 1 deletions
|
@ -1530,7 +1530,7 @@ public class Methods {
|
|||
if (explode.contains(ability)) {
|
||||
if (wg.getGlobalStateManager().get(location.getWorld()).blockTNTExplosions)
|
||||
return true;
|
||||
if (wg.getRegionContainer().createQuery().testBuild(location, player, DefaultFlag.TNT))
|
||||
if (!wg.getRegionContainer().createQuery().testBuild(location, player, DefaultFlag.TNT))
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue