Gareth Swan
Verified Member
Hey so I have 2 issues with an ability I'm working on.
Firstly, even after adding:
The ability can still hurt myself. And secondly, if I look straight forward or down a bit when using the ability, it doesn't progress forward and just disappears. It displays one flash of the particles and plays the sound but then disappears
Firstly, even after adding:
Code:
for (Entity entity : GeneralMethods.getEntitiesAroundPoint(location, collisionRadius)) {
if (entity instanceof Entity && entity.getUniqueId() != player.getUniqueId()) {
DamageHandler.damageEntity(entity, player, damage, this);
remove();
return;