mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 19:50:30 +00:00
Don't send packets unless disguise is in use
This commit is contained in:
parent
a286773c04
commit
350a3aa9b5
1 changed files with 4 additions and 0 deletions
|
@ -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