mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 04:13:51 -07:00
Update to Minecraft 1.11
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
+import org.bukkit.event.player.PlayerTeleportEvent;
|
||||
+// CraftBukkit end
|
||||
|
||||
public class TileEntityEndGateway extends TileEntity implements ITickable {
|
||||
public class TileEntityEndGateway extends TileEntityEnderPortal implements ITickable {
|
||||
|
||||
@@ -107,6 +113,26 @@
|
||||
@@ -111,6 +117,26 @@
|
||||
if (this.exitPortal != null) {
|
||||
BlockPosition blockposition = this.exactTeleport ? this.exitPortal : this.k();
|
||||
BlockPosition blockposition = this.exactTeleport ? this.exitPortal : this.i();
|
||||
|
||||
+ // CraftBukkit start - Fire PlayerTeleportEvent
|
||||
+ if (entity instanceof EntityPlayer) {
|
||||
|
Reference in New Issue
Block a user