- More Bugfixes
This commit is contained in:
parent
0ab3213b7b
commit
cf26541461
@ -14,6 +14,7 @@ import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.HandlerList;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.block.BlockDamageEvent;
|
||||
import org.bukkit.event.inventory.InventoryType;
|
||||
|
||||
public class SkillFixer implements Listener
|
||||
@ -81,4 +82,13 @@ public class SkillFixer implements Listener
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void fixAxe(BlockDamageEvent event)
|
||||
{
|
||||
if (!_host.IsLive())
|
||||
return;
|
||||
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ public class Emerald
|
||||
if (!_ent.equals(item))
|
||||
return;
|
||||
|
||||
if (_ent.getTicksLived() <= 2000)
|
||||
if (_ent.getTicksLived() <= 40)
|
||||
return;
|
||||
|
||||
if (!Host.IsAlive(player))
|
||||
|
Loading…
Reference in New Issue
Block a user