mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01: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 New Issue
Block a user