mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
|
||||
public class TileEntityEndGateway extends TileEntityEnderPortal implements ITickable {
|
||||
|
||||
@@ -111,6 +117,26 @@
|
||||
@@ -113,6 +119,26 @@
|
||||
if (this.exitPortal != null) {
|
||||
BlockPosition blockposition = this.exactTeleport ? this.exitPortal : this.j();
|
||||
BlockPosition blockposition = this.exactTeleport ? this.exitPortal : this.i();
|
||||
|
||||
+ // CraftBukkit start - Fire PlayerTeleportEvent
|
||||
+ if (entity instanceof EntityPlayer) {
|
||||
@@ -31,7 +31,7 @@
|
||||
+ }
|
||||
+
|
||||
+ ((EntityPlayer) entity).playerConnection.teleport(teleEvent.getTo());
|
||||
+ this.h(); // CraftBukkit - call at end of method
|
||||
+ this.f(); // CraftBukkit - call at end of method
|
||||
+ return;
|
||||
+
|
||||
+ }
|
||||
|
Reference in New Issue
Block a user