Update to Minecraft 1.11

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-11-17 12:41:03 +11:00
parent 49bc1c57f9
commit 4e412ab4e3
279 changed files with 3722 additions and 2992 deletions

View File

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