Add implementation for ClientEmoteEvent

Also, a few random changes I've stored since forever.
This commit is contained in:
Camotoy 2023-02-15 00:17:14 -05:00
parent 6a6a601efc
commit ee754c529b
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F
10 changed files with 27 additions and 30 deletions

View file

@ -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;
}