Fixed indent problems and added return definitions to CheckMultiLogin().
Changed from IsAllowMultiLogin() to DoesAllowMultiLogin(). Fixed CheckMultiLogin() to not run to the end without returning a value.
This commit is contained in:
+2
-1
@@ -280,7 +280,8 @@ public:
|
||||
void HandleEntityLeaveBed (int a_EntityID);
|
||||
void HandleEntitySprinting (int a_EntityID, bool a_IsSprinting);
|
||||
|
||||
/** Kicks the current player if the same username is already logged in. */
|
||||
/** Kicks the current player if the same username is already logged in.
|
||||
Returns false if a player has been kicked, true otherwise. */
|
||||
bool CheckMultiLogin(const AString & a_Username);
|
||||
|
||||
/** Called when the protocol handshake has been received (for protocol versions that support it;
|
||||
|
||||
Reference in New Issue
Block a user