prevent the world from getting saved twice at shutdown
This commit is contained in:
parent
624e68e18e
commit
9d00580d7e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
public void func_71260_j()
|
||||
{
|
||||
- if (!this.field_71290_O)
|
||||
+ if (!this.field_71290_O && Loader.instance().hasReachedState(LoaderState.SERVER_STARTED))
|
||||
+ if (!this.field_71290_O && Loader.instance().hasReachedState(LoaderState.SERVER_STARTED) && !field_71316_v) // make sure the save is valid and we don't save twice
|
||||
{
|
||||
field_147145_h.info("Stopping server");
|
||||
|
||||
|
|
Loading…
Reference in a new issue