mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 00:55:14 +00:00
More awesomeness, No AI flag!
This commit is contained in:
@ -28,13 +28,14 @@ class UpdateBlockPacket extends DataPacket{
|
||||
public static $pool = [];
|
||||
public static $next = 0;
|
||||
|
||||
const FLAG_NONE = 0b0;
|
||||
const FLAG_NEIGHBORS = 0b1;
|
||||
const FLAG_NOGRAPHIC = 0b100;
|
||||
const FLAG_PRIORITY = 0b1000;
|
||||
const FLAG_NONE = 0b0000;
|
||||
const FLAG_NEIGHBORS = 0b0001;
|
||||
const FLAG_NETWORK = 0b0010;
|
||||
const FLAG_NOGRAPHIC = 0b0100;
|
||||
const FLAG_PRIORITY = 0b1000;
|
||||
|
||||
const FLAG_ALL = self::FLAG_NEIGHBORS;
|
||||
const FLAG_ALL_PRIORITY = self::FLAG_NEIGHBORS | self::FLAG_PRIORITY;
|
||||
const FLAG_ALL = (self::FLAG_NEIGHBORS | self::FLAG_NETWORK);
|
||||
const FLAG_ALL_PRIORITY = (self::FLAG_ALL | self::FLAG_PRIORITY);
|
||||
|
||||
public $records = []; //x, z, y, blockId, blockData, flags
|
||||
|
||||
|
Reference in New Issue
Block a user