mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 20:53:54 -07:00
Generic code cleanup
This commit is contained in:
@@ -162,7 +162,7 @@ public class EntitySnowball extends Entity {
|
||||
EntityDamageByProjectileEvent event = new EntityDamageByProjectileEvent(shooter, damagee, projectile, damageCause, damage);
|
||||
server.getPluginManager().callEvent(event);
|
||||
|
||||
if(!event.isCancelled()) {
|
||||
if (!event.isCancelled()) {
|
||||
// this function returns if the snowball should stick or not, i.e. !bounce
|
||||
stick = movingobjectposition.g.a(this.g, event.getDamage());
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user