wolf tackle fix

HG furnace no use
This commit is contained in:
Chiss 2013-11-27 12:48:16 +11:00
parent 0d811272cc
commit f927f2c1be
2 changed files with 136 additions and 135 deletions

View File

@ -1396,7 +1396,8 @@ public class HungerGames extends SoloGame
return; return;
if (event.getClickedBlock().getType() == Material.BREWING_STAND || if (event.getClickedBlock().getType() == Material.BREWING_STAND ||
event.getClickedBlock().getType() == Material.FURNACE) event.getClickedBlock().getType() == Material.FURNACE ||
event.getClickedBlock().getType() == Material.BURNING_FURNACE)
event.setCancelled(true); event.setCancelled(true);
} }

View File

@ -200,7 +200,7 @@ public class PerkWolfPet extends Perk
if (event.getPlayer().getItemInHand() == null) if (event.getPlayer().getItemInHand() == null)
return; return;
if (!event.getPlayer().getItemInHand().getType().toString().contains("_AXE")) if (!event.getPlayer().getItemInHand().getType().toString().contains("_AXE") && !event.getPlayer().getItemInHand().getType().toString().contains("_SWORD"))
return; return;
Player player = event.getPlayer(); Player player = event.getPlayer();