Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Commit

Permalink
Nullify mounted entity, can't transfer this right now
Browse files Browse the repository at this point in the history
  • Loading branch information
robotia committed Mar 3, 2016
1 parent 79fe42f commit bf87fa7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ public boolean teleport(Location location, PlayerTeleportEvent.TeleportCause cau
//Thermos....transfer them correctly?!
this.getHandle().mcServer.getConfigurationManager().transferPlayerToDimension_CB(this.getHandle(),toWorld.dimension, new thermos.ThermiteTeleporter(toWorld));
this.getHandle().playerNetServerHandler.teleport(to);
this.getHandle().mountEntity(null);
//this.getHandle().playerNetServerHandler.setPlayerLocation(to.getX(), to.getY(), to.getZ(), this.getHandle().rotationYaw, this.getHandle().rotationPitch);
//server.getHandle().respawnPlayer(entity, toWorld.dimension, false, to, false); // Cauldron
}
Expand Down

0 comments on commit bf87fa7

Please sign in to comment.