Fixed item collection (token must not be tested by protocols anymore).
This commit is contained in:
parent
5c4b61a26e
commit
d00f2abb0b
@ -44,11 +44,6 @@ bool GameEventsProtocol::notifyEvent(Event* event)
|
||||
Log::warn("GameEventsProtocol", "Too short message.");
|
||||
return true;
|
||||
}
|
||||
if ( event->getPeer()->getClientServerToken() != data.getUInt32())
|
||||
{
|
||||
Log::warn("GameEventsProtocol", "Bad token.");
|
||||
return true;
|
||||
}
|
||||
int8_t type = data.getUInt8();
|
||||
switch (type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user