summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityEnderPearl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityEnderPearl.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityEnderPearl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEnderPearl.java b/src/main/java/net/minecraft/server/EntityEnderPearl.java
index 210ef66b..0e883728 100644
--- a/src/main/java/net/minecraft/server/EntityEnderPearl.java
+++ b/src/main/java/net/minecraft/server/EntityEnderPearl.java
@@ -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);
}