Teleport functionality is missing

Description

In vanilla Minecraft with no mods, one can issue this command to get coordinates of a player:
/tp player ~ ~ ~

When the Essentials plugin is loaded by the server, there is no code to deal with this request. It instead runs this code in the commandtp.class file (Line 90):
User target2 = this.getPlayer(server, user, args, 0);
double x = args[1].startsWith("~")?target2.getLocation().getX() + (double)Integer.parseInt(args[1].substring(1))double)Integer.parseInt(args[1]);

This throws an exception (handled) because the code is attempting to make "~" characters into integers.

The player is given this message on screen:

Error: For input string: ""

Environment

https://hub.spigotmc.org/jenkins/job/Spigot-Essentials/
This server is running CraftBukkit version git-Spigot-44c59bf-1880a9c (MC: 1.8.7) (Implementing API version 1.8.7-R0.1-SNAPSHOT)

Assignee

RobertG

Reporter

This Person

Affects versions

Priority

Normal
Configure