Phpcraft
|
Public Member Functions | |
__construct (Server $server, bool $lagging) | |
Public Member Functions inherited from Phpcraft\Event\ServerEvent | |
__construct (Server $server) | |
Public Attributes | |
$lagging | |
Public Attributes inherited from Phpcraft\Event\ServerEvent | |
$server | |
Phpcraft\Event\ServerTickEvent::__construct | ( | Server | $server, |
bool | $lagging | ||
) |
bool Phpcraft\Event\ServerTickEvent::$lagging |
True if this tick event should've been fired much earlier but wasn't because the server was busy. If your task is complicated and/or doesn't need to be executed every tick, try not doing it if this is true.