This commit is contained in:
boy0001 2015-02-21 18:30:55 +11:00
parent e3f7db4906
commit 83f7aa544d
57 changed files with 59 additions and 58 deletions

View file

@ -46,7 +46,7 @@ public class Home extends SubCommand {
}
@Override
public boolean execute(final Player plr, String... args) {
public boolean execute(final PlotPlayer plr, String... args) {
final Plot[] plots = PlotSquared.getPlots(plr).toArray(new Plot[0]);
if (plots.length == 1) {
PlotSquared.teleportPlayer(plr, plr.getLocation(), plots[0]);