Skip to content
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

[Bug] /seen command #149

Open
7 tasks done
MrLouisDew opened this issue Feb 2, 2025 · 0 comments
Open
7 tasks done

[Bug] /seen command #149

MrLouisDew opened this issue Feb 2, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MrLouisDew
Copy link
Contributor

MrLouisDew commented Feb 2, 2025

Terms

  • I'm using the very latest version of zEssentials and its dependencies (zMenu and PlaceholdersAPI).
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I've looked for already existing issues on the Issue Tracker and haven't found any.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the discord to check if anyone already has a solution for this.
  • I tested this with just zEssentials and its dependencies and with a vanilla client of the same version as the Server.
  • I enabled the debug mode in config.yml and sql debug

Discord Username (optional)

uekc

Server Version

1.21.1

Server Software

Current Purpur Version: 1.21.1-2329-803bf62

zEssentials Version

zEssentials version 1.0.1.7

zMenu Version

zMenu version 1.0.3.7

What happened?

The /seen command does not work on offline players.

Steps to reproduce the issue

  1. Use the /seen command on an offline player.
  2. See that command is not working.

Full Server Log

https://mclo.gs/Bk5VaLZ

Error (optional)

[13:49:27 WARN]: java.lang.NullPointerException: date must not be null
[13:49:27 WARN]:        at java.base/java.util.Objects.requireNonNull(Objects.java:259)
[13:49:27 WARN]:        at java.base/java.util.Calendar.setTime(Calendar.java:1801)
[13:49:27 WARN]:        at java.base/java.text.SimpleDateFormat.format(SimpleDateFormat.java:978)
[13:49:27 WARN]:        at java.base/java.text.SimpleDateFormat.format(SimpleDateFormat.java:971)
[13:49:27 WARN]:        at java.base/java.text.DateFormat.format(DateFormat.java:378)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.module.modules.SanctionModule.sendOffline(SanctionModule.java:396)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.module.modules.SanctionModule.seen(SanctionModule.java:376)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.commands.commands.sanction.CommandSeen.lambda$perform$0(CommandSeen.java:27)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.zutils.utils.commands.VCommand.lambda$fetchUniqueId$8(VCommand.java:546)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.storage.storages.SqlStorage.fetchUniqueId(SqlStorage.java:332)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.zutils.utils.commands.VCommand.fetchUniqueId(VCommand.java:539)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.commands.commands.sanction.CommandSeen.perform(CommandSeen.java:27)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.zutils.utils.commands.VCommand.safelyPerformCommand(VCommand.java:460)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.zutils.utils.commands.VCommand.prePerform(VCommand.java:396)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.commands.ZCommandManager.processRequirements(ZCommandManager.java:117)
[13:49:27 WARN]:        at zEssentials-1.0.1.7 (5).jar//fr.maxlego08.essentials.commands.ZCommandManager.onCommand(ZCommandManager.java:77)
[13:49:27 WARN]:        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[13:49:27 WARN]:        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:178)
[13:49:27 WARN]:        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1015)
[13:49:27 WARN]:        at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:1000)
[13:49:27 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.handleConsoleInputs(DedicatedServer.java:566)
[13:49:27 WARN]:        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:514)
[13:49:27 WARN]:        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1642)
[13:49:27 WARN]:        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1342)
[13:49:27 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:333)
[13:49:27 WARN]:        at java.base/java.lang.Thread.run(Thread.java:1583)

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

@MrLouisDew MrLouisDew added the bug Something isn't working label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants