Bug fixes
This commit is contained in:
parent
f6cb654e12
commit
2e3d19bd3a
@ -121,6 +121,12 @@ public class KitEnderman extends SmashKit
|
||||
public void damage(CustomDamageEvent event)
|
||||
{
|
||||
Player player = event.GetDamageePlayer();
|
||||
|
||||
if (player == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
DisguiseBase disguise = Manager.GetDisguise().getActiveDisguise(player);
|
||||
|
||||
if (player != null && disguise != null && disguise instanceof DisguiseEnderman)
|
||||
|
@ -105,6 +105,7 @@ public class PerkCreeperSulphurBomb extends SmashPerk
|
||||
UtilParticle.PlayParticleToAll(ParticleType.EXPLODE, data.getThrown().getLocation(), 0, 0, 0, 0, 1, ViewDist.LONG);
|
||||
data.getThrown().getWorld().playSound(data.getThrown().getLocation(), Sound.EXPLODE, 1f, 2f);
|
||||
data.getThrown().remove();
|
||||
_sulphur.remove(data.getThrower().getUniqueId());
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -56,7 +56,7 @@ public class PerkInkBlast extends SmashPerk implements IThrown
|
||||
_projectileVelocity = getPerkFloat("Projectile Velocity");
|
||||
_knockbackMagnitude = getPerkInt("Knockback Magnitude");
|
||||
_bullets = getPerkInt("Bullets");
|
||||
_damagePerBullet = getPerkInt("Damage Per Bullet");
|
||||
_damagePerBullet = getPerkDouble("Damage Per Bullet");
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
Loading…
Reference in New Issue
Block a user