summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityArrow.java
diff options
context:
space:
mode:
authorAndrew Ardill <andrew.ardill@gmail.com>2011-01-21 16:54:30 +1100
committerAndrew Ardill <andrew.ardill@gmail.com>2011-01-21 16:54:30 +1100
commit1cbde901bacb7620e555d1725c95619641caba8e (patch)
tree60157572f1bff78ecd6ede7f9f443f138e01c9fe /src/main/java/net/minecraft/server/EntityArrow.java
parent1dad7de4f34982efff946ec51ca576902d79bb8e (diff)
downloadcraftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar
craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar.gz
craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar.lz
craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.tar.xz
craftbukkit-1cbde901bacb7620e555d1725c95619641caba8e.zip
Entity audit. Adds checks for null entities, and adds conformity.
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityArrow.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityArrow.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/EntityArrow.java b/src/main/java/net/minecraft/server/EntityArrow.java
index 88c0b53d..5ac3746b 100644
--- a/src/main/java/net/minecraft/server/EntityArrow.java
+++ b/src/main/java/net/minecraft/server/EntityArrow.java
@@ -2,13 +2,13 @@ package net.minecraft.server;
import java.util.List;
-//CraftBukkit start
+// CraftBukkit start
import org.bukkit.craftbukkit.entity.CraftArrow;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.event.entity.EntityDamageByProjectileEvent;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
-//CraftBukkit end
+// CraftBukkit end
public class EntityArrow extends Entity {
@@ -34,10 +34,10 @@ public class EntityArrow extends Entity {
am = 0;
a(0.5F, 0.5F);
- //CraftBukkit start
+ // CraftBukkit start
CraftServer server = ((WorldServer) this.l).getServer();
this.bukkitEntity = new CraftArrow(server, this);
- //CraftBukkit end
+ // CraftBukkit end
}
public EntityArrow(World world, double d1, double d2, double d3) {