evo fixes
This commit is contained in:
parent
ebd3fbe6d5
commit
b5b8bef39e
@ -23,6 +23,7 @@ import mineplex.core.recharge.Recharge;
|
|||||||
import mineplex.core.updater.UpdateType;
|
import mineplex.core.updater.UpdateType;
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
import mineplex.minecraft.game.core.combat.CombatComponent;
|
import mineplex.minecraft.game.core.combat.CombatComponent;
|
||||||
|
import mineplex.minecraft.game.core.combat.DeathMessageType;
|
||||||
import mineplex.minecraft.game.core.combat.CombatManager.AttackReason;
|
import mineplex.minecraft.game.core.combat.CombatManager.AttackReason;
|
||||||
import mineplex.minecraft.game.core.combat.event.CombatDeathEvent;
|
import mineplex.minecraft.game.core.combat.event.CombatDeathEvent;
|
||||||
import mineplex.minecraft.game.core.condition.Condition.ConditionType;
|
import mineplex.minecraft.game.core.condition.Condition.ConditionType;
|
||||||
@ -146,8 +147,6 @@ public class Evolution extends SoloGame
|
|||||||
|
|
||||||
CreatureAllow = false;
|
CreatureAllow = false;
|
||||||
|
|
||||||
DeathMessages = false;
|
|
||||||
|
|
||||||
InventoryClick = false;
|
InventoryClick = false;
|
||||||
|
|
||||||
InventoryOpenBlock = false;
|
InventoryOpenBlock = false;
|
||||||
@ -785,4 +784,10 @@ public class Evolution extends SoloGame
|
|||||||
|
|
||||||
Scoreboard.Draw();
|
Scoreboard.Draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void deathMsg(CombatDeathEvent event)
|
||||||
|
{
|
||||||
|
event.SetBroadcastType(DeathMessageType.Simple);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ public class KitChicken extends EvoKit
|
|||||||
new Perk[]
|
new Perk[]
|
||||||
{
|
{
|
||||||
new PerkConstructor("Egg Pouch", 2.0, 3, Material.EGG,
|
new PerkConstructor("Egg Pouch", 2.0, 3, Material.EGG,
|
||||||
"Egg Launcher Ammo", false), new PerkDoubleJumpEVO("Double Jump", 0.4, 0.9, false)
|
"Egg Launcher Ammo", false), new PerkDoubleJumpEVO("Double Jump", 0.6, 0.9, false)
|
||||||
}, EntityType.CHICKEN);
|
}, EntityType.CHICKEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user