- 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.EventPriority;
|
||||||
import org.bukkit.event.HandlerList;
|
import org.bukkit.event.HandlerList;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
|
import org.bukkit.event.block.BlockDamageEvent;
|
||||||
import org.bukkit.event.inventory.InventoryType;
|
import org.bukkit.event.inventory.InventoryType;
|
||||||
|
|
||||||
public class SkillFixer implements Listener
|
public class SkillFixer implements Listener
|
||||||
@ -80,5 +81,14 @@ public class SkillFixer implements Listener
|
|||||||
skill.Reset(player);
|
skill.Reset(player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void fixAxe(BlockDamageEvent event)
|
||||||
|
{
|
||||||
|
if (!_host.IsLive())
|
||||||
|
return;
|
||||||
|
|
||||||
|
event.setCancelled(true);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ public class Emerald
|
|||||||
if (!_ent.equals(item))
|
if (!_ent.equals(item))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (_ent.getTicksLived() <= 2000)
|
if (_ent.getTicksLived() <= 40)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!Host.IsAlive(player))
|
if (!Host.IsAlive(player))
|
||||||
|
Loading…
Reference in New Issue
Block a user