mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-11-10 05:28:21 +00:00
Merge pull request #8 from Anonymous1432/master
Patched bending in any faction land
This commit is contained in:
commit
5d6ca3938b
2 changed files with 12 additions and 24 deletions
18
.classpath
18
.classpath
|
@ -1,15 +1,15 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/BukkitForPlugins.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/bukkit.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/TagAPI.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/TagAPI.jar"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/Factions.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/Factions.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/GriefPrevention.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/GriefPrevention.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/mcore.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/mcore.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/PreciousStones.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/PreciousStones.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/Towny.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/Towny.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/WorldEdit.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/WorldEdit.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/WorldGuard.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Mommie/Desktop/Plugin Dev Testing/resources/WorldGuard.jar"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -1578,23 +1578,11 @@ public class Methods {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fcp != null && mcore != null && respectFactions) {
|
if (fcp != null && mcore != null && respectFactions) {
|
||||||
if (ignite.contains(ability)) {
|
if (!FactionsListenerMain.canPlayerBuildAt(player, PS.valueOf(loc.getBlock()), false)) {
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (explode.contains(ability)) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!FactionsListenerMain.canPlayerBuildAt(player,
|
|
||||||
PS.valueOf(loc.getBlock()), false)) {
|
|
||||||
return true;
|
return true;
|
||||||
|
}else{
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (!FactionsBlockListener.playerCanBuildDestroyBlock(player,
|
|
||||||
// location, "build", true)) {
|
|
||||||
// return true;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (twnp != null && respectTowny) {
|
if (twnp != null && respectTowny) {
|
||||||
|
|
Loading…
Reference in a new issue