mirror of https://github.com/minetest/minetest.git
Increase Limit for "suspiciously large amount" to 300
This commit is contained in:
parent
16fc8b5fc2
commit
7fd0d66b4f
|
@ -1569,7 +1569,7 @@ void ServerEnvironment::activateObjects(MapBlock *block)
|
||||||
<<"activating objects of block "<<PP(block->getPos())
|
<<"activating objects of block "<<PP(block->getPos())
|
||||||
<<" ("<<block->m_static_objects.m_stored.size()
|
<<" ("<<block->m_static_objects.m_stored.size()
|
||||||
<<" objects)"<<std::endl;
|
<<" objects)"<<std::endl;
|
||||||
bool large_amount = (block->m_static_objects.m_stored.size() > 49);
|
bool large_amount = (block->m_static_objects.m_stored.size() > 300);
|
||||||
if(large_amount){
|
if(large_amount){
|
||||||
errorstream<<"suspiciously large amount of objects detected: "
|
errorstream<<"suspiciously large amount of objects detected: "
|
||||||
<<block->m_static_objects.m_stored.size()<<" in "
|
<<block->m_static_objects.m_stored.size()<<" in "
|
||||||
|
|
Loading…
Reference in New Issue