readd dropped event in InteractWithDoor

This commit is contained in:
Lulu13022002
2024-12-16 17:29:46 +01:00
parent 9c973e84bc
commit 783b3b70e6
33 changed files with 175 additions and 172 deletions

View File

@@ -105,13 +105,13 @@ public final class PaperInventoryCustomHolderContainer implements Container {
}
@Override
public void onOpen(CraftHumanEntity who) {
this.delegate.onOpen(who);
public void onOpen(CraftHumanEntity player) {
this.delegate.onOpen(player);
}
@Override
public void onClose(CraftHumanEntity who) {
this.delegate.onClose(who);
public void onClose(CraftHumanEntity player) {
this.delegate.onClose(player);
}
@Override

View File

@@ -194,13 +194,13 @@ public class CraftInventoryCustom extends CraftInventory {
}
@Override
public void onOpen(CraftHumanEntity who) {
this.viewers.add(who);
public void onOpen(CraftHumanEntity player) {
this.viewers.add(player);
}
@Override
public void onClose(CraftHumanEntity who) {
this.viewers.remove(who);
public void onClose(CraftHumanEntity player) {
this.viewers.remove(player);
}
@Override