mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-16 15:38:14 +01:00
COs of the last commit we can remove this
This commit is contained in:
parent
74d608afb9
commit
e537fb8923
@ -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 New Issue
Block a user