Line endings, consistency!

This commit is contained in:
Dinnerbone
2011-03-27 21:27:27 +01:00
parent e2d4603358
commit 4272e51e00
25 changed files with 823 additions and 823 deletions

View File

@@ -1,35 +1,35 @@
package org.bukkit.event.entity;
import java.util.Random;
import org.bukkit.entity.Entity;
public class EntityDamageByProjectileEvent extends EntityDamageByEntityEvent {
private Entity projectile;
private boolean bounce;
public EntityDamageByProjectileEvent(Entity damager, Entity damagee, Entity projectile, DamageCause cause, int damage) {
super(damager, damagee, cause, damage);
this.projectile = projectile;
Random random = new Random();
this.bounce = random.nextBoolean();
}
/**
* The projectile used to cause the event
* @return the projectile
*/
public Entity getProjectile() {
return projectile;
}
public void setBounce(boolean bounce){
this.bounce = bounce;
}
public boolean getBounce(){
return bounce;
}
}
package org.bukkit.event.entity;
import java.util.Random;
import org.bukkit.entity.Entity;
public class EntityDamageByProjectileEvent extends EntityDamageByEntityEvent {
private Entity projectile;
private boolean bounce;
public EntityDamageByProjectileEvent(Entity damager, Entity damagee, Entity projectile, DamageCause cause, int damage) {
super(damager, damagee, cause, damage);
this.projectile = projectile;
Random random = new Random();
this.bounce = random.nextBoolean();
}
/**
* The projectile used to cause the event
* @return the projectile
*/
public Entity getProjectile() {
return projectile;
}
public void setBounce(boolean bounce){
this.bounce = bounce;
}
public boolean getBounce(){
return bounce;
}
}