mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-19 04:26:52 -04:00
fix custom lighting plugin crashing
This commit is contained in:
parent
04659de1e2
commit
0e3dcf4aff
@ -36,6 +36,7 @@ namespace ClassicalSharp.Map {
|
||||
}
|
||||
|
||||
public override void Init(Game game) {
|
||||
this.game = game;
|
||||
game.WorldEvents.EnvVariableChanged += EnvVariableChanged;
|
||||
SetSun(WorldEnv.DefaultSunlight);
|
||||
SetShadow(WorldEnv.DefaultShadowlight);
|
||||
|
Loading…
x
Reference in New Issue
Block a user