gbl / AntiGhost

Mod that requests the server to send surrounding blocks to you, to get rid of ghost blocks
MIT License
28 stars 16 forks source link

Idea: Rename `/ghost` to `/cghost` to match ClientCommands naming convention #25

Closed James103 closed 2 years ago

James103 commented 2 years ago

https://github.com/gbl/AntiGhost/blob/9d803da143e36fb2ce273fb00872f0cad01fa47b/src/main/java/de/guntram/mcmod/antighost/AntiGhost.java#L32-L35

Earthcomputer/ClientCommands adds several commands, all of which start with the letter c to denote that it is a client side only command. As this mod adds a client-side command /ghost, it may be renamed to /cghost for consistency.

The rename could either be an alias, whereby /cghost aliases /ghost, or it could be a full rename, where /ghost is no longer a command added by the mod because that command was renamed to /cghost.

gbl commented 2 years ago

The command has been /ghost ever since the mod came out in 2017. I won't change that because some other mod, that came out much later, uses some kind of standard for itself.