mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
@@ -12,7 +12,7 @@
|
||||
public class EntityEnderPearl extends EntityProjectile {
|
||||
|
||||
private EntityLiving d;
|
||||
@@ -51,21 +57,35 @@
|
||||
@@ -55,21 +61,35 @@
|
||||
EntityPlayer entityplayer = (EntityPlayer) entityliving;
|
||||
|
||||
if (entityplayer.playerConnection.a().isConnected() && entityplayer.world == this.world && !entityplayer.isSleeping()) {
|
||||
@@ -52,7 +52,7 @@
|
||||
}
|
||||
-
|
||||
- if (entityliving.isPassenger()) {
|
||||
- this.stopRiding();
|
||||
- entityliving.stopRiding();
|
||||
- }
|
||||
-
|
||||
- entityliving.enderTeleportTo(this.locX, this.locY, this.locZ);
|
||||
|
Reference in New Issue
Block a user