mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 14:33:08 +00:00
cmds
This commit is contained in:
parent
e3f7db4906
commit
83f7aa544d
57 changed files with 59 additions and 58 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue