mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 15:35:21 +01:00 
			
		
		
		
	Increase Limit for "suspiciously large amount" to 300
This commit is contained in:
		| @@ -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 " | ||||
|   | ||||
		Reference in New Issue
	
	Block a user