mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 14:17:58 +00:00
Check if the scene has a config
This commit is contained in:
parent
9fbb7fb3be
commit
8b4471ee54
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user