@@ -148,8 +148,9 @@ |
||
| 148 | 148 | |
| 149 | 149 | // Run the Tick plugins |
| 150 | 150 | $ws->loop->addPeriodicTimer(1, function () use ($pluginsT) { |
| 151 | - foreach ($pluginsT as $plugin) |
|
| 152 | - $plugin->tick(); |
|
| 151 | + foreach ($pluginsT as $plugin) { |
|
| 152 | + $plugin->tick(); |
|
| 153 | + } |
|
| 153 | 154 | }); |
| 154 | 155 | |
| 155 | 156 | // Mem cleanup every 30 minutes |
@@ -229,4 +229,4 @@ |
||
| 229 | 229 | { |
| 230 | 230 | } |
| 231 | 231 | } |
| 232 | - |
|
| 233 | 232 | \ No newline at end of file |
| 233 | + |
|
| 234 | 234 | \ No newline at end of file |