-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command /guild list doesn't work #707
Labels
Comments
This was referenced Jan 29, 2024
Moreover, this error will be triggered when the player establishes a guild.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The command only works if the guild list is empty. When I create a guild, the command stops working.
Expected Behavior
Actual Behavior
[13:15:04 INFO]: Nittoi issued server command: /guilds list
[13:15:04 ERROR]: [global] TaskChain Exception on me.glaremasters.guilds.commands.gui.CommandGUI$$Lambda$13520/0x00007fb0e22fb448: Cannot invoke "me.glaremasters.guilds.guild.GuildSkull.getSerialized()" because "this.guildSkull" is null
[13:15:04 ERROR]: [global] Current Action Index was: 0
[13:15:04 WARN]: java.lang.NullPointerException: Cannot invoke "me.glaremasters.guilds.guild.GuildSkull.getSerialized()" because "this.guildSkull" is null
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guild.Guild.getSkull(Guild.java:201)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guis.ListGUI.setListItem(ListGUI.kt:103)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guis.ListGUI.createListItems(ListGUI.kt:90)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.guis.ListGUI.get(ListGUI.kt:53)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.commands.gui.CommandGUI.list$lambda$0(CommandGUI.kt:73)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChainTasks$GenericTask.run(TaskChainTasks.java:83)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain$TaskHolder.run(TaskChain.java:1312)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain$TaskHolder.access$100(TaskChain.java:1266)
[13:15:04 WARN]: at Guilds-3.5.7.0.jar//me.glaremasters.guilds.libs.taskchain.TaskChain.lambda$nextTask$18(TaskChain.java:1187)
[13:15:04 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[13:15:04 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[13:15:04 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[13:15:04 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[13:15:04 WARN]: at java.base/java.lang.Thread.run(Thread.java:840)
Steps to Reproduce
1./g create {guild's name}
2./g list
Context
When a player uses a command, the console displays an error. The player doesn't receive an error. The command doesn't work.
Your Environment
The text was updated successfully, but these errors were encountered: