Blocks now save their bounding box, fixed entity block collision check

This commit is contained in:
Shoghi Cervantes
2014-10-29 15:43:23 +01:00
parent 6f64af3066
commit 289bc56b4b
26 changed files with 64 additions and 30 deletions

View File

@@ -38,7 +38,7 @@ abstract class DataPacket extends \stdClass{
}
public static function cleanPool(){
if(static::$next > 4096){
if(static::$next > 16384){
static::$pool = [];
}
static::$next = 0;