AlonsoAliaga / BetterRevive

Give your players a second chance to live.
0 stars 2 forks source link

Walk bug #1

Closed Zoiter7 closed 4 years ago

Zoiter7 commented 4 years ago

Bug: You can walk when you are down (bleeding).

Steps:

  1. Get to bleeding status
  2. Press Shift and without release it you can walk free.
  3. If you release it you come back to the original position.

Other bugs:

Expected behavior When player is down, he shouldn't be able to walk.

Important (please complete the following information):

Zoiter7 commented 4 years ago

I don't know if this is a error or "none" for these command are not supported.

When you set in the config for use permission for some command and you put "none" as is described in the config comments it gives an error.

`[21:48:44 INFO]: Zoiter7 issued server command: /giveup

org.bukkit.command.CommandException: Unhandled exception executing command 'giveup' in plugin BetterRevive v0.1-BETA at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.3.jar:git-Paper-204] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.3.jar:git-Paper-204] at org.bukkit.craftbukkit.v1_16_R2.CraftServer.dispatchCommand(CraftServer.java:802) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.PlayerConnection.handleCommand(PlayerConnection.java:1908) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.PlayerConnection.a(PlayerConnection.java:1719) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.TickTask.run(SourceFile:18) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.MinecraftServer.ba(MinecraftServer.java:1135) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.MinecraftServer.executeNext(MinecraftServer.java:1128) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.MinecraftServer.sleepForTick(MinecraftServer.java:1089) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.MinecraftServer.w(MinecraftServer.java:1003) ~[patched_1.16.3.jar:git-Paper-204] at net.minecraft.server.v1_16_R2.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.3.jar:git-Paper-204] at java.lang.Thread.run(Unknown Source) [?:1.8.0_251] Caused by: java.lang.IllegalArgumentException: Permission name cannot be null at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:73) ~[patched_1.16.3.jar:git-Paper-204] at org.bukkit.craftbukkit.v1_16_R2.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:206) ~[patched_1.16.3.jar:git-Paper-204] at com.alonsoaliaga.betterrevive.commands.GiveUpCommand.onCommand(GiveUpCommand.java:26) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.3.jar:git-Paper-204] ... 18 more`

config: Permissions:

Permission to use /giveup command

Give-up: "none"

AlonsoAliaga commented 4 years ago

1.16.x has many visual bugs I cannot fix with plugins. However I'll look into this tomorrow

AlonsoAliaga commented 4 years ago

@Zoiter7 Can you join my discord so we can try a new build to see if it's fixed (at least movement part)? This is the invite https://discord.gg/DEDaQhs

AlonsoAliaga commented 4 years ago

Issue partially solved in version 0.2-BETA. Spigot visual glitch cannot be fixed due to plugins limitations