Skip to content

Commit

Permalink
Fix ServerEntity.sendPairingData(Consumer<Packet<?>>, ServerPlayer) (
Browse files Browse the repository at this point in the history
  • Loading branch information
jebibot committed Aug 5, 2023
1 parent 857c13d commit 500beb6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,15 @@ public void sendChanges() {

private transient ServerPlayer arclight$player;

public void a(final Consumer<Packet<?>> consumer, ServerPlayer playerEntity) {
public void sendPairingData(final Consumer<Packet<?>> consumer, ServerPlayer playerEntity) { // CraftBukkit - add player
this.arclight$player = playerEntity;
this.sendPairingData(consumer);
}

public void a(final Consumer<Packet<?>> consumer, ServerPlayer playerEntity) { // for backward compatability
this.sendPairingData(consumer, playerEntity);
}

/**
* @author IzzelAliz
* @reason
Expand Down

0 comments on commit 500beb6

Please sign in to comment.