mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Remove stone being sent for self disguises, should be handled by spawn
This commit is contained in:
parent
c636ca1c0e
commit
c787a1daae
1 changed files with 2 additions and 2 deletions
|
@ -1594,7 +1594,7 @@ public class DisguiseUtilities {
|
|||
.createPacket(0, player.getPassenger(), player));
|
||||
}
|
||||
|
||||
sendSelfPacket(player, manager.createPacketConstructor(Server.ENTITY_EQUIPMENT, 0,
|
||||
/*sendSelfPacket(player, manager.createPacketConstructor(Server.ENTITY_EQUIPMENT, 0,
|
||||
ReflectionManager.createEnumItemSlot(EquipmentSlot.HEAD),
|
||||
ReflectionManager.getNmsItem(new ItemStack(Material.STONE)))
|
||||
.createPacket(player.getEntityId(), ReflectionManager.createEnumItemSlot(EquipmentSlot.HEAD),
|
||||
|
@ -1623,7 +1623,7 @@ public class DisguiseUtilities {
|
|||
ReflectionManager.createEnumItemSlot(EquipmentSlot.HEAD),
|
||||
ReflectionManager.getNmsItem(new ItemStack(Material.STONE)))
|
||||
.createPacket(player.getEntityId(), ReflectionManager.createEnumItemSlot(EquipmentSlot.OFF_HAND),
|
||||
ReflectionManager.getNmsItem(player.getInventory().getItemInOffHand())));
|
||||
ReflectionManager.getNmsItem(player.getInventory().getItemInOffHand())));*/
|
||||
|
||||
Location loc = player.getLocation();
|
||||
|
||||
|
|
Loading…
Reference in a new issue