fix: Removes timer error for world in initial state, and removes OPL requirement for spellbooks (#1197)
This commit is contained in:
parent
791128f238
commit
ca3b173c4c
3 changed files with 6 additions and 3 deletions
|
|
@ -79,7 +79,7 @@ public partial class Timer
|
|||
|
||||
public Timer Start()
|
||||
{
|
||||
if (World.WorldState is WorldState.Initial or WorldState.Saving)
|
||||
if (World.WorldState is WorldState.Saving)
|
||||
{
|
||||
logger.Error(
|
||||
"Attempted to start timer {Timer} ({HashCode}) while world is {State}\n{StackTrace}",
|
||||
|
|
@ -123,7 +123,7 @@ public partial class Timer
|
|||
|
||||
public void Stop()
|
||||
{
|
||||
if (World.WorldState is WorldState.Initial or WorldState.Saving)
|
||||
if (World.WorldState is WorldState.Saving)
|
||||
{
|
||||
logger.Error(
|
||||
"Attempted to stop timer {Timer} ({HashCode}) while world is {State}\n{StackTrace}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue