mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
COs of the last commit we can remove this
This commit is contained in:
parent
74d608afb9
commit
e537fb8923
1 changed files with 1 additions and 6 deletions
|
@ -126,12 +126,7 @@ public abstract class BaseDisguiseCommand implements CommandExecutor {
|
|||
}
|
||||
}
|
||||
// Construct the disguise
|
||||
if (disguiseType == DisguiseType.DROPPED_ITEM) {
|
||||
disguise = new MiscDisguise(disguiseType, true);
|
||||
((DroppedItemWatcher) disguise.getWatcher()).setItemStack(new ItemStack(miscId, 1, (short) miscData));
|
||||
} else {
|
||||
disguise = new MiscDisguise(disguiseType, true, miscId, miscData);
|
||||
}
|
||||
disguise = new MiscDisguise(disguiseType, miscId, miscData);
|
||||
}
|
||||
}
|
||||
// Copy strings to their new range
|
||||
|
|
Loading…
Reference in a new issue