Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Re-added the old sendForm methods
Dieser Commit ist enthalten in:
Ursprung
bd1cc26bf3
Commit
94445a5222
@ -1381,6 +1381,22 @@ public class GeyserSession implements GeyserConnection, CommandSender {
|
|||||||
formCache.showForm(formBuilder.build());
|
formCache.showForm(formBuilder.build());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated since Cumulus version 1.1, and will be removed when Cumulus 2.0 releases. Please use the new forms instead.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public void sendForm(org.geysermc.cumulus.Form<?> form) {
|
||||||
|
sendForm(form.newForm());
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated since Cumulus version 1.1, and will be removed when Cumulus 2.0 releases. Please use the new forms instead.
|
||||||
|
*/
|
||||||
|
@Deprecated
|
||||||
|
public void sendForm(org.geysermc.cumulus.util.FormBuilder<?, ?, ?, ?> formBuilder) {
|
||||||
|
sendForm(formBuilder.build());
|
||||||
|
}
|
||||||
|
|
||||||
private void startGame() {
|
private void startGame() {
|
||||||
StartGamePacket startGamePacket = new StartGamePacket();
|
StartGamePacket startGamePacket = new StartGamePacket();
|
||||||
startGamePacket.setUniqueEntityId(playerEntity.getGeyserId());
|
startGamePacket.setUniqueEntityId(playerEntity.getGeyserId());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren