mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Add implementation for ClientEmoteEvent
Also, a few random changes I've stored since forever.
This commit is contained in:
parent
6a6a601efc
commit
ee754c529b
10 changed files with 27 additions and 30 deletions
|
@ -33,11 +33,11 @@ import org.geysermc.geyser.api.event.connection.ConnectionEvent;
|
|||
/**
|
||||
* Called whenever a Bedrock player performs an emote on their end, before it is broadcasted to the rest of the server.
|
||||
*/
|
||||
public final class BedrockEmoteEvent extends ConnectionEvent implements Cancellable {
|
||||
public final class ClientEmoteEvent extends ConnectionEvent implements Cancellable {
|
||||
private final String emoteId;
|
||||
private boolean cancelled;
|
||||
|
||||
public BedrockEmoteEvent(@NonNull GeyserConnection connection, @NonNull String emoteId) {
|
||||
public ClientEmoteEvent(@NonNull GeyserConnection connection, @NonNull String emoteId) {
|
||||
super(connection);
|
||||
this.emoteId = emoteId;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue