Allow overriding the head item name

This commit is contained in:
zontreck 2024-01-02 19:45:31 -07:00
parent b9150379dc
commit 8f550510a6
2 changed files with 4 additions and 4 deletions

View file

@ -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();

View file

@ -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<>();