ZHorse

ZHorse

10.4k Downloads

No message when claiming horses.

Tripstor opened this issue ยท 0 comments

commented

Bug report

What are you trying to do ?

Description of the task to be done goes here.

Claim horses with /zh claim or /zh claim (name)

What is the expected behavior ?

Description of the expected behavior goes here.

Expecting a message indicating the horse has been claimed.

What is the actual behavior ?

Description of the actual behavior goes here.

Nothing happens; no message, nothing.

How to reproduce the bug ?

Type /zh claim on the server.

Console output

[14:15:43 INFO]: Axros issued server command: /zh claim
[14:15:43 WARN]: java.lang.reflect.InvocationTargetException
[14:15:43 WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[14:15:43 WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[14:15:43 WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[14:15:43 WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[14:15:43 WARN]: at com.github.zedd7.zhorse.managers.CommandManager.onCommand(CommandManager.java:47)
[14:15:43 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[14:15:43 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
[14:15:43 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:807)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2021)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1832)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1785)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:5)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1128)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1121)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1082)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996)
[14:15:43 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173)
[14:15:43 WARN]: at java.base/java.lang.Thread.run(Thread.java:834)
[14:15:43 WARN]: Caused by: java.lang.UnsupportedOperationException: SuperPerms no group permissions.
[14:15:43 WARN]: at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPrimaryGroup(Permission_SuperPerms.java:96)
[14:15:43 WARN]: at net.milkbowl.vault.permission.Permission.getPrimaryGroup(Permission.java:679)
[14:15:43 WARN]: at net.milkbowl.vault.permission.Permission.getPrimaryGroup(Permission.java:691)
[14:15:43 WARN]: at com.github.zedd7.zhorse.managers.PermissionManager.getPrimaryGroup(PermissionManager.java:32)
[14:15:43 WARN]: at com.github.zedd7.zhorse.managers.ConfigManager.getGroupName(ConfigManager.java:307)
[14:15:43 WARN]: at com.github.zedd7.zhorse.managers.ConfigManager.getClaimsLimit(ConfigManager.java:47)
[14:15:43 WARN]: at com.github.zedd7.zhorse.commands.AbstractCommand.hasReachedClaimsLimit(AbstractCommand.java:339)
[14:15:43 WARN]: at com.github.zedd7.zhorse.commands.CommandClaim.execute(CommandClaim.java:43)
[14:15:43 WARN]: at com.github.zedd7.zhorse.commands.CommandClaim.(CommandClaim.java:24)
[14:15:43 WARN]: ... 25 more

Environment specifications

  • Operating system : Windows
  • Java version : 8
  • Server version : 1.16.4
  • ZHorse version : 1.8.3 Snapshot and the full release linked on Spigot
  • Database : Default