Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-341: Backport ender pearl spawning fix from 1.8.1
Dieser Commit ist enthalten in:
Ursprung
dde25d45ef
Commit
922e0a1a7f
@ -1,6 +1,6 @@
|
||||
--- ../work/decompile-8eb82bde//net/minecraft/server/EntityEnderPearl.java 2014-11-28 17:43:43.085707435 +0000
|
||||
+++ src/main/java/net/minecraft/server/EntityEnderPearl.java 2014-11-28 17:38:24.000000000 +0000
|
||||
@@ -1,5 +1,11 @@
|
||||
--- ../work/decompile-8eb82bde/net/minecraft/server/EntityEnderPearl.java 2015-01-05 10:11:38.333916086 +1100
|
||||
+++ src/main/java/net/minecraft/server/EntityEnderPearl.java 2015-01-05 10:11:38.333916086 +1100
|
||||
@@ -1,7 +1,20 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
+// CraftBukkit start
|
||||
@ -11,8 +11,17 @@
|
||||
+
|
||||
public class EntityEnderPearl extends EntityProjectile {
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ // This is backported from 1.8.1
|
||||
+ public EntityEnderPearl(World world) {
|
||||
+ super(world);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
public EntityEnderPearl(World world, EntityLiving entityliving) {
|
||||
@@ -29,14 +35,28 @@
|
||||
super(world, entityliving);
|
||||
}
|
||||
@@ -29,14 +42,28 @@
|
||||
entityendermite.setPositionRotation(entityliving.locX, entityliving.locY, entityliving.locZ, entityliving.yaw, entityliving.pitch);
|
||||
this.world.addEntity(entityendermite);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren