mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-17 15:49:17 +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
|
// Construct the disguise
|
||||||
if (disguiseType == DisguiseType.DROPPED_ITEM) {
|
disguise = new MiscDisguise(disguiseType, miscId, miscData);
|
||||||
disguise = new MiscDisguise(disguiseType, true);
|
|
||||||
((DroppedItemWatcher) disguise.getWatcher()).setItemStack(new ItemStack(miscId, 1, (short) miscData));
|
|
||||||
} else {
|
|
||||||
disguise = new MiscDisguise(disguiseType, true, miscId, miscData);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Copy strings to their new range
|
// Copy strings to their new range
|
||||||
|
Loading…
Reference in New Issue
Block a user