mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 17:05:20 +01:00
Check if the scene has a config
This commit is contained in:
@@ -446,6 +446,7 @@ public final class Scene {
|
||||
* Teleports the player if the player is out of bounds.
|
||||
*/
|
||||
private void checkPlayerRespawn() {
|
||||
if (this.getScriptManager().getConfig() == null) return;
|
||||
var diePos = this.getScriptManager().getConfig().die_y;
|
||||
|
||||
// Check players in the scene.
|
||||
|
||||
Reference in New Issue
Block a user