mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
1.3.0 BETA 4
This commit is contained in:
parent
6ee2af3b02
commit
6efc69d405
4 changed files with 4 additions and 41 deletions
|
@ -11,6 +11,5 @@
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/Towny.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/Towny.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/WorldEdit.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/WorldEdit.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/WorldGuard.jar"/>
|
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/Bending Plugins/WorldGuard.jar"/>
|
||||||
<classpathentry kind="lib" path="C:/Users/Shawn/Documents/LocalServer/Bending.jar"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -129,46 +129,11 @@ public class FireBlast {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (player.isSneaking()
|
|
||||||
// && Methods.getBendingAbility(player) == Abilities.AirBlast) {
|
|
||||||
// new AirBlast(player);
|
|
||||||
// }
|
|
||||||
|
|
||||||
Block block = location.getBlock();
|
Block block = location.getBlock();
|
||||||
// for (Block testblock : Methods.getBlocksAroundPoint(location,
|
|
||||||
// affectingradius)) {
|
|
||||||
// if (testblock.getType() == Material.FIRE) {
|
|
||||||
// testblock.setType(Material.AIR);
|
|
||||||
// testblock.getWorld().playEffect(testblock.getLocation(),
|
|
||||||
// Effect.EXTINGUISH, 0);
|
|
||||||
// }
|
|
||||||
// if (((block.getType() == Material.LEVER) || (block.getType() ==
|
|
||||||
// Material.STONE_BUTTON))
|
|
||||||
// && !affectedlevers.contains(block)) {
|
|
||||||
// EntityHuman eH = ((CraftPlayer) player).getHandle();
|
|
||||||
//
|
|
||||||
// net.minecraft.server.Block.byId[block.getTypeId()].interact(
|
|
||||||
// ((CraftWorld) block.getWorld()).getHandle(),
|
|
||||||
// block.getX(), block.getY(), block.getZ(), eH);
|
|
||||||
//
|
|
||||||
// affectedlevers.add(block);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
if (Methods.isSolid(block) || block.isLiquid()) {
|
if (Methods.isSolid(block) || block.isLiquid()) {
|
||||||
if (block.getType() == Material.FURNACE && canPowerFurnace) {
|
if (block.getType() == Material.FURNACE && canPowerFurnace) {
|
||||||
// BlockState state = block.getState();
|
|
||||||
// Furnace furnace = (Furnace) state;
|
|
||||||
// FurnaceInventory inv = furnace.getInventory();
|
|
||||||
// if (inv.getFuel() == null) {
|
|
||||||
// ItemStack temp = inv.getSmelting();
|
|
||||||
// ItemStack tempfuel = new ItemStack(Material.WOOD_AXE, 1);
|
|
||||||
// ItemStack tempsmelt = new ItemStack(Material.COBBLESTONE);
|
|
||||||
// inv.setFuel(tempfuel);
|
|
||||||
// inv.setSmelting(tempsmelt);
|
|
||||||
// state.update(true);
|
|
||||||
// inv.setSmelting(temp);
|
|
||||||
// state.update(true);
|
|
||||||
// }
|
|
||||||
} else if (FireStream.isIgnitable(player, block.getRelative(BlockFace.UP))) {
|
} else if (FireStream.isIgnitable(player, block.getRelative(BlockFace.UP))) {
|
||||||
ignite(location);
|
ignite(location);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,12 +10,11 @@ import org.bukkit.block.Block;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.potion.PotionEffectType;
|
import org.bukkit.potion.PotionEffectType;
|
||||||
|
|
||||||
import chiblocking.Paralyze;
|
|
||||||
|
|
||||||
import com.projectkorra.ProjectKorra.Flight;
|
import com.projectkorra.ProjectKorra.Flight;
|
||||||
import com.projectkorra.ProjectKorra.Methods;
|
import com.projectkorra.ProjectKorra.Methods;
|
||||||
import com.projectkorra.ProjectKorra.ProjectKorra;
|
import com.projectkorra.ProjectKorra.ProjectKorra;
|
||||||
import com.projectkorra.ProjectKorra.TempBlock;
|
import com.projectkorra.ProjectKorra.TempBlock;
|
||||||
|
import com.projectkorra.ProjectKorra.chiblocking.Paralyze;
|
||||||
|
|
||||||
public class WaterSpout {
|
public class WaterSpout {
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: ProjectKorra
|
name: ProjectKorra
|
||||||
author: ProjectKorra
|
author: ProjectKorra
|
||||||
version: 1.3.0 BETA 3
|
version: 1.3.0 BETA 4
|
||||||
main: com.projectkorra.ProjectKorra.ProjectKorra
|
main: com.projectkorra.ProjectKorra.ProjectKorra
|
||||||
commands:
|
commands:
|
||||||
projectkorra:
|
projectkorra:
|
||||||
|
|
Loading…
Reference in a new issue