1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-27 06:50:29 +02:00

Increase Limit for "suspiciously large amount" to 300

This commit is contained in:
sfan5 2012-07-23 07:59:59 +02:00
parent 16fc8b5fc2
commit 7fd0d66b4f

View File

@ -1569,7 +1569,7 @@ void ServerEnvironment::activateObjects(MapBlock *block)
<<"activating objects of block "<<PP(block->getPos())
<<" ("<<block->m_static_objects.m_stored.size()
<<" 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){
errorstream<<"suspiciously large amount of objects detected: "
<<block->m_static_objects.m_stored.size()<<" in "