@@ -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