/bloodmagic help and other commands not working
JakobMiesner opened this issue ยท 0 comments
Issue Description:
When using /bloodmagic help an error Ocurrs and every other command just responds with You do not have permission to use this command
(Tried as op and directly in the Server Console)
What happens:
When using /bloodmagic help the output is:
bloodmagic help
[20:22:19] [Server thread/INFO] [minecraft/DedicatedServer]: /bloodmagic help
[20:22:19] [Server thread/INFO] [minecraft/DedicatedServer]: /bloodmagic bind [true|false] [player] ("?" or "help" for help)
[20:22:19] [Server thread/INFO] [minecraft/DedicatedServer]: An unknown error occurred while attempting to perform this command
[20:22:19] [Server thread/WARN] [minecraft/CommandHandler]: Couldn't process command: bloodmagic help
java.lang.NullPointerException: null
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) ~[?:1.8.0_242]
at java.util.regex.Matcher.reset(Matcher.java:309) ~[?:1.8.0_242]
at java.util.regex.Matcher.<init>(Matcher.java:229) ~[?:1.8.0_242]
at java.util.regex.Pattern.matcher(Pattern.java:1093) ~[?:1.8.0_242]
at net.minecraft.util.text.TextComponentTranslation.func_150269_b(SourceFile:64) ~[hp.class:?]
at net.minecraft.util.text.TextComponentTranslation.func_150270_g(SourceFile:51) ~[hp.class:?]
at net.minecraft.util.text.TextComponentTranslation.iterator(SourceFile:152) ~[hp.class:?]
at net.minecraft.util.text.TextComponentBase.func_150254_d(TextComponentBase.java:82) ~[he.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_145747_a(DedicatedServer.java:596) ~[nz.class:?]
at net.minecraftforge.server.command.CommandTreeHelp$HelpSubCommand.func_184881_a(CommandTreeHelp.java:119) ~[CommandTreeHelp$HelpSubCommand.class:?]
at net.minecraftforge.server.command.CommandTreeHelp.func_184881_a(CommandTreeHelp.java:73) ~[CommandTreeHelp.class:?]
at com.feed_the_beast.ftbutilities.ranks.CommandTreeOverride.func_184881_a(CommandTreeOverride.java:56) ~[CommandTreeOverride.class:?]
at net.minecraftforge.server.command.CommandTreeBase.func_184881_a(CommandTreeBase.java:164) ~[CommandTreeBase.class:?]
at com.feed_the_beast.ftbutilities.ranks.CommandTreeOverride.func_184881_a(CommandTreeOverride.java:60) ~[CommandTreeOverride.class:?]
at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:119) [bj.class:?]
at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:91) [bj.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:433) [nz.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:398) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
When using every other command the output is always the same (I used bloodmagic network set for this example):
> > bloodmagic network set Player 100
[20:25:46] [Server thread/INFO] [minecraft/DedicatedServer]: You do not have permission to use this command
Steps to reproduce:
my ops.json:
[
{
"uuid": "Player uuid",
"name": "Player",
"level": 4,
"bypassesPlayerLimit": false
}
]
Affected Versions (Do not use "latest"):
- BloodMagic: BloodMagic-1.12.2-2.4.3-105
- Minecraft: 1.12.2
- Forge: 14.23.5.2847