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

/effect command #313

Closed
MonoAdrian23 opened this issue May 13, 2022 · 13 comments
Closed

/effect command #313

MonoAdrian23 opened this issue May 13, 2022 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@MonoAdrian23
Copy link

🐞 错误汇报

at cn.nukkit.command.CommandParser.parseTargets(CommandParser.java:372)

at cn.nukkit.command.CommandParser.parseTargets(CommandParser.java:360)

at cn.nukkit.command.defaults.EffectCommand.execute(EffectCommand.java:63)

at cn.nukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:291)

at cn.nukkit.Server.dispatchCommand(Server.java:1021)

at cn.nukkit.Player.handleDataPacket(Player.java:3339)

at cn.nukkit.network.RakNetInterface.process(RakNetInterface.java:129)

at cn.nukkit.network.Network.processInterfaces(Network.java:170)

at cn.nukkit.Server.tick(Server.java:1423)

at cn.nukkit.Server.tickProcessor(Server.java:1203)

(git-d512ab7)

📸 截图或视频

▶ 复现步骤

✔ 预期行为

❌ 实际行为

📋 Debug information

💢 错误堆栈或崩溃日志

💬 其他信息

@CoolLoong CoolLoong added the bug Something isn't working label May 13, 2022
@smartcmd
Copy link
Member

I can't replay this bug

@smartcmd
Copy link
Member

plz send me your command

@MonoAdrian23
Copy link
Author

I have type /effect Username night_vision 300

And Console gave me this

@smartcmd
Copy link
Member

image
image
I can't recurrent the bug you said:(

@smartcmd
Copy link
Member

if there are space in username, you should using "" to surround the username

@MonoAdrian23
Copy link
Author

MonoAdrian23 commented May 20, 2022

I have Test it with /effect shortUser night_vision 300

Like /effect pow night_vision 300

No Spaces

@smartcmd
Copy link
Member

image
I meet no problem

@smartcmd
Copy link
Member

image

@MonoAdrian23
Copy link
Author

MonoAdrian23 commented May 20, 2022

OK i have have found the Problem

/effect p night_vision 300

It happens only with 1 Letter as a Goal

Screenshot_20220520-154203_Minecraft.jpg

@MonoAdrian23
Copy link
Author

OK i have have found the Problem

/effect p night_vision 300

It happens only with 1 Letter as a Goal

This sends the Console Error

@smartcmd
Copy link
Member

smartcmd commented May 20, 2022

ok I found the bug
thank you for your reply

@smartcmd
Copy link
Member

I have fixed it.And we will update soon

@MonoAdrian23
Copy link
Author

Thank You very much ♥️

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

3 participants