-
Notifications
You must be signed in to change notification settings - Fork 8
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
command block can crash server #121
Comments
Was probably this one:
|
Line 184 seems like straightforward easy fix Lines 184 to 186 in 4b146cc
However I'm pretty sure there's a lot of similar stuff where it is simply just assumed that player who executed the command is online. I think long ago it was already determined that many commands would crash the server with similar reason if executed remotely, back then remote execution was just disabled. Could extend Beerchat API a bit and add these common internal lookups there and fix these corner cases while doing it. |
< FeXoR@pandorabox> Triggering "lc [channel]" with a command block owned by an offline player crashes the server if triggered by another player
(not verbatum quote)Not something that should happen often. Maybe checking if player object actually exists (player is online) on chatcommands would be a straightforward way to harden against such situations.
The text was updated successfully, but these errors were encountered: