mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-09-22 00:16:30 +00:00
Don't send packets unless disguise is in use
This commit is contained in:
parent
a286773c04
commit
350a3aa9b5
|
@ -149,6 +149,10 @@ public abstract class Disguise {
|
|||
public abstract double getHeight();
|
||||
|
||||
protected void sendArmorStands(String[] oldName) {
|
||||
if (!isDisguiseInUse()) {
|
||||
return;
|
||||
}
|
||||
|
||||
ArrayList<PacketContainer> packets = DisguiseUtilities.getNamePackets(this, oldName);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue