| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package de.pewpewproject.lasertag.mixin; |
||
| 32 | @Inject(method = "shutdown", at = @At("HEAD")) |
||
| 33 | private void atShutdown(CallbackInfo ci) { |
||
| 34 | |||
| 35 | // Get the game managers |
||
| 36 | var gameManager = getOverworld().getServerLasertagManager(); |
||
| 37 | |||
| 38 | // Stop the lasertag game |
||
| 39 | gameManager.stopLasertagGame(); |
||
| 40 | |||
| 41 | // Dispose the game managers |
||
| 42 | gameManager.dispose(); |
||
| 43 | } |
||
| 44 | } |