Update credits command to use new callback args
This commit is contained in:
parent
a4f66468ee
commit
5372fd2129
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
mod_license=GPLv3
|
||||
# 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.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
|
|
|
@ -35,7 +35,7 @@ public class CreditsCommand {
|
|||
int y = 0;
|
||||
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)));
|
||||
|
||||
//LibZontreck.LOGGER.info("Add gui button : " + entry.name);
|
||||
|
|
Reference in a new issue