Cleanup comments, formatting, etc
This commit is contained in:
@@ -366,7 +366,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
// To = Players new Location if Teleport is Successful
|
||||
Location to = location;
|
||||
// Create & Call the Teleport Event.
|
||||
PlayerTeleportEvent event = new PlayerTeleportEvent((Player) this, from, to, cause);
|
||||
PlayerTeleportEvent event = new PlayerTeleportEvent(this, from, to, cause);
|
||||
server.getPluginManager().callEvent(event);
|
||||
|
||||
// Return False to inform the Plugin that the Teleport was unsuccessful/cancelled.
|
||||
|
||||
Reference in New Issue
Block a user