Archiviert
13
0
Dieses Repository wurde am 2024-12-25 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
Paper-Old/nms-patches/EntityShulkerBullet.patch
2016-03-01 09:32:45 +11:00

24 Zeilen
851 B
Diff

--- a/net/minecraft/server/EntityShulkerBullet.java
+++ b/net/minecraft/server/EntityShulkerBullet.java
@@ -10,6 +10,12 @@
private EntityLiving shooter;
private Entity target;
+ // CraftBukkit start
+ public EntityLiving getShooter() { return this.shooter; }
+ public void setShooter(EntityLiving e) { this.shooter = e; }
+ public Entity getTarget() { return this.target; }
+ public void setTarget(Entity e) { this.target = e; }
+ // CraftBukkit end
private EnumDirection c;
private int d;
private double e;
@@ -42,6 +48,7 @@
this.target = entity;
this.c = EnumDirection.UP;
this.a(enumdirection_enumaxis);
+ projectileSource = (org.bukkit.entity.LivingEntity) entityliving.getBukkitEntity(); // CraftBukkit
}
protected void b(NBTTagCompound nbttagcompound) {