From c787a1daaeba54e8afbac8e05d896c93f991df77 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 18 Nov 2019 12:47:55 +1300 Subject: [PATCH] Remove stone being sent for self disguises, should be handled by spawn --- .../libraryaddict/disguise/utilities/DisguiseUtilities.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 0016b813..f097d9a6 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -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();