Update credits command to use new callback args

This commit is contained in:
zontreck 2024-01-14 19:52:41 -07:00
parent a4f66468ee
commit 5372fd2129
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ mod_name=Zontreck Library Mod
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=GPLv3 mod_license=GPLv3
# The mod version. See https://semver.org/ # The mod version. See https://semver.org/
mod_version=1.10.011424.1910 mod_version=1.10.011424.1952
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources. # This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html # See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View file

@ -35,7 +35,7 @@ public class CreditsCommand {
int y = 0; int y = 0;
for(CreditsEntry entry : HeadCache.CREDITS) for(CreditsEntry entry : HeadCache.CREDITS)
{ {
gui = gui.withButton(new ChestGUIButton(entry.compile(), (stack, container)->{ gui = gui.withButton(new ChestGUIButton(entry.compile(), (stack, container, lore)->{
}, new Vector2i(x,y))); }, new Vector2i(x,y)));
//LibZontreck.LOGGER.info("Add gui button : " + entry.name); //LibZontreck.LOGGER.info("Add gui button : " + entry.name);