mirror of
https://github.com/HibiscusMC/HibiscusCommons.git
synced 2025-12-19 15:09:26 +00:00
fix: interact packet not on correct packet
This commit is contained in:
@@ -5,10 +5,7 @@ import it.unimi.dsi.fastutil.ints.IntList;
|
||||
import net.kyori.adventure.text.Component;
|
||||
import org.bukkit.GameMode;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.entity.Display;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.ItemDisplay;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.*;
|
||||
import org.bukkit.inventory.EquipmentSlot;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -43,6 +40,10 @@ public interface NMSPackets {
|
||||
|
||||
void sendSlotUpdate(Player player, int slot);
|
||||
|
||||
default void sendLookAtPacket(int entityId, Location location, List<Player> sendTo) {
|
||||
|
||||
}
|
||||
|
||||
void sendEquipmentSlotUpdate(
|
||||
int entityId,
|
||||
org.bukkit.inventory.EquipmentSlot slot,
|
||||
|
||||
Reference in New Issue
Block a user