mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 06:23:14 +00:00
ksdajl
This commit is contained in:
parent
83f7aa544d
commit
cf1ebdb6c8
48 changed files with 422 additions and 422 deletions
|
@ -67,20 +67,20 @@ public class Home extends SubCommand {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
BukkitPlayerFunctions.sendMessage(plr, C.NOT_YOUR_PLOT);
|
||||
MainUtil.sendMessage(plr, C.NOT_YOUR_PLOT);
|
||||
return false;
|
||||
}
|
||||
BukkitPlayerFunctions.sendMessage(plr, C.NOT_VALID_NUMBER);
|
||||
MainUtil.sendMessage(plr, C.NOT_VALID_NUMBER);
|
||||
return true;
|
||||
}
|
||||
if ((id > (plots.length)) || (id < 1)) {
|
||||
BukkitPlayerFunctions.sendMessage(plr, C.NOT_VALID_NUMBER);
|
||||
MainUtil.sendMessage(plr, C.NOT_VALID_NUMBER);
|
||||
return false;
|
||||
}
|
||||
teleportPlayer(plr, plots[id - 1]);
|
||||
return true;
|
||||
} else {
|
||||
BukkitPlayerFunctions.sendMessage(plr, C.NO_PLOTS);
|
||||
MainUtil.sendMessage(plr, C.NO_PLOTS);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue