Allow overriding the head item name
This commit is contained in:
parent
b9150379dc
commit
8f550510a6
2 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ public class CreditsEntry {
|
|||
*/
|
||||
public ItemStack compile()
|
||||
{
|
||||
ItemStack stack = player.getAsItem();
|
||||
ItemStack stack = player.getAsItem("");
|
||||
stack.setHoverName(Component.literal(name));
|
||||
LoreContainer contain = new LoreContainer(stack);
|
||||
contain.clear();
|
||||
|
|
|
@ -180,9 +180,9 @@ public class HeadCache
|
|||
*/
|
||||
public void resetCache()
|
||||
{
|
||||
HeadUtilities.get("zontreck");
|
||||
HeadUtilities.get("PossumTheWarrior");
|
||||
HeadUtilities.get("GemMD");
|
||||
HeadUtilities.get("zontreck", "");
|
||||
HeadUtilities.get("PossumTheWarrior", "");
|
||||
HeadUtilities.get("GemMD", "");
|
||||
}
|
||||
|
||||
public List<ItemStack> compiled = new ArrayList<>();
|
||||
|
|
Reference in a new issue