Fix formatting.

This commit is contained in:
Erik Broes
2012-01-14 23:02:10 +01:00
parent 61ec751ca1
commit a4ce846d07
68 changed files with 322 additions and 465 deletions

View File

@@ -35,7 +35,7 @@ public class EntityEnderPearl extends EntityProjectile {
if (this.shooter != null) {
if (this.shooter instanceof EntityPlayer) {
CraftPlayer player = (CraftPlayer)this.shooter.bukkitEntity;
CraftPlayer player = (CraftPlayer) this.shooter.bukkitEntity;
teleport = player.isOnline();
if (teleport) {
@@ -50,7 +50,7 @@ public class EntityEnderPearl extends EntityProjectile {
if (teleport) {
if (this.shooter instanceof EntityPlayer) {
((EntityPlayer)this.shooter).netServerHandler.teleport(teleEvent.getTo());
((EntityPlayer) this.shooter).netServerHandler.teleport(teleEvent.getTo());
} else {
this.shooter.enderTeleportTo(this.locX, this.locY, this.locZ);
}