forked from mirrors/kolyah35-minecraft-pe-0.6.1
easy
This commit is contained in:
parent
f0cb6d0b7c
commit
8098ab8906
1 changed files with 6 additions and 2 deletions
|
|
@ -569,10 +569,14 @@ void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID& source, WantCrea
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (checkForExists.empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < items.size(); i++) {
|
||||
auto item = items.at(i);
|
||||
|
||||
|
||||
auto it = std::find(checkForExists.begin(), checkForExists.end(), item.id);
|
||||
|
||||
if (it == checkForExists.end() && checkForExists.size() > 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue