Better Questing

Better Questing

39M Downloads

/Op Crash on server

YaBoiDan opened this issue ยท 0 comments

commented

Hello,

Typing '/op' or '/deop' in the server console causes a crash as per the below:

java.lang.ArrayIndexOutOfBoundsException: 0
	at betterquesting.handlers.EventHandler.onCommand(EventHandler.java:350)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1480_EventHandler_onCommand_CommandEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
	at net.minecraft.command.CommandHandler.func_71556_a(CommandHandler.java:54)
	at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:433)
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:398)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
	at java.lang.Thread.run(Thread.java:748)

Adding a name after /op seems fine.