Dieser Commit ist enthalten in:
Ursprung
c36a6885cf
Commit
3aa3776c59
@ -150,9 +150,9 @@ public class BauCommand extends SWCommand {
|
|||||||
@Register("teleport")
|
@Register("teleport")
|
||||||
public void teleport(ProxiedPlayer p, @Validator("teleportTarget") SteamwarUser worldOwner, @Mapper("version") @OptionalValue("") int version) {
|
public void teleport(ProxiedPlayer p, @Validator("teleportTarget") SteamwarUser worldOwner, @Mapper("version") @OptionalValue("") int version) {
|
||||||
versionSelector(version,
|
versionSelector(version,
|
||||||
() -> new ServerStarter().build19(worldOwner.getUuid()).send(p).start(),
|
|
||||||
() -> new ServerStarter().build15(worldOwner.getUuid()).send(p).start(),
|
|
||||||
() -> new ServerStarter().build12(worldOwner.getUuid()).send(p).start(),
|
() -> new ServerStarter().build12(worldOwner.getUuid()).send(p).start(),
|
||||||
|
() -> new ServerStarter().build15(worldOwner.getUuid()).send(p).start(),
|
||||||
|
() -> new ServerStarter().build19(worldOwner.getUuid()).send(p).start(),
|
||||||
() -> HelpCommand.sendBauHelp(ChatSender.of(p))
|
() -> HelpCommand.sendBauHelp(ChatSender.of(p))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -251,9 +251,9 @@ public class BauCommand extends SWCommand {
|
|||||||
public void delete(ProxiedPlayer p, @Mapper("version") @OptionalValue("") int version) {
|
public void delete(ProxiedPlayer p, @Mapper("version") @OptionalValue("") int version) {
|
||||||
SteamwarUser user = SteamwarUser.get(p.getUniqueId());
|
SteamwarUser user = SteamwarUser.get(p.getUniqueId());
|
||||||
versionSelector(version,
|
versionSelector(version,
|
||||||
() -> deleteConfirmation(p, () -> deleteWorld(p, ServerStarter.WORLDS19_PATH + user.getId())),
|
|
||||||
() -> deleteConfirmation(p, () -> deleteWorld(p, ServerStarter.WORLDS15_PATH + user.getId())),
|
|
||||||
() -> deleteConfirmation(p, () -> deleteWorld(p, ServerStarter.WORLDS12_PATH + p.getUniqueId().toString())),
|
() -> deleteConfirmation(p, () -> deleteWorld(p, ServerStarter.WORLDS12_PATH + p.getUniqueId().toString())),
|
||||||
|
() -> deleteConfirmation(p, () -> deleteWorld(p, ServerStarter.WORLDS15_PATH + user.getId())),
|
||||||
|
() -> deleteConfirmation(p, () -> deleteWorld(p, ServerStarter.WORLDS19_PATH + user.getId())),
|
||||||
() -> HelpCommand.sendBauHelp(ChatSender.of(p))
|
() -> HelpCommand.sendBauHelp(ChatSender.of(p))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren