Cuberite Forum
HasCommand - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: HasCommand (/thread-1352.html)



HasCommand - NiLSPACE - 02-06-2014

While I was working on groups for a cRoot::ReloadGroups function I stumbled across a cGroup::HasCommand function. After talking to xoft about it we still don't really know what it does, so: What does it do exactly?
I saw a cPlayer::CanUseCommand function using it on all the groups it is in, but I never used. Is there any harm in removing it since I never saw anyone using it.


RE: HasCommand - FakeTruth - 02-06-2014

It is deprecated. Commands were replaced by permissions, so it can be removed Smile