mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-14 12:50:13 +00:00
Send all armorstands on disguise removal
This commit is contained in:
parent
6d4d12e0fa
commit
43015f192f
1 changed files with 2 additions and 2 deletions
|
@ -912,9 +912,9 @@ public abstract class Disguise {
|
|||
}
|
||||
}
|
||||
|
||||
if (getMultiNameLength() > 0) {
|
||||
if (armorstandIds.length > 0) {
|
||||
PacketContainer packet = new PacketContainer(Server.ENTITY_DESTROY);
|
||||
packet.getIntegerArrays().write(0, Arrays.copyOf(getArmorstandIds(), getMultiNameLength()));
|
||||
packet.getIntegerArrays().write(0, armorstandIds);
|
||||
|
||||
try {
|
||||
for (Player player : getEntity().getWorld().getPlayers()) {
|
||||
|
|
Loading…
Reference in a new issue