multiplayer - Gene add/remove commands
ronyala opened this issue ยท 0 comments
Mod version: 1.28
- bug - The player stated at the output of these commands is the player executing the command, instead of being the player that is affected by the command.
I looked into the source code and if I understood it correctly, replacing 'sender.getName()' with 'entity.getName()' when printing the command's message at 'sender.sendMessage()' should solve it. - suggestion - It would also be nice to have support for @A (affect all players) and @r (affect a random player) in addition to @p.
Edit: I made a pull request with a fix