empty block at night

This commit is contained in:
nicfreeman1209 2021-05-03 16:53:46 +01:00
parent 943d228e98
commit f0619bdaeb
1 changed files with 3 additions and 0 deletions

View File

@ -691,6 +691,9 @@ class LiveSession {
setIsNight() { setIsNight() {
if (this._isSpectator) return; if (this._isSpectator) return;
this._send("isNight", this._store.state.grimoire.isNight); this._send("isNight", this._store.state.grimoire.isNight);
if (this._store.state.grimoire.isNight) {
this._store.commit("players/setOnBlock", -1);
}
} }
/** /**