mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Send all armorstands on disguise removal
This commit is contained in:
parent
6d4d12e0fa
commit
43015f192f
@ -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 New Issue
Block a user