<?phpnamespace App\Utils;class BaseUtil{ protected static $service = []; /** * @Method instance * * @static * @return static */ public static function instance(): BaseUtil { if (!isset(self::$service [static::class])) self::$service [static::class] = new static(); return self::$service [static::class]; }}
更新日志
e1.5.10
Multiplayer
Changes
Added a spam filter to chat. Players can send up to 5 messages in the span of 15 seconds. If players exceed this limit, the spam filter will not let any messages be sent.
Lowered the character limit on chat messages from 500 to 100.
Fixes
Fixed a bug with empty chat messages causing the client to crash.