Fix problem with the server hanging around after forcing the client to exit, leaving behind stale processes.

This commit is contained in:
cpw 2016-11-25 02:08:29 -05:00
parent c22382d12e
commit 45aa74454b

View file

@ -295,7 +295,7 @@
if (this.field_71437_Z != null && this.field_71437_Z.func_175578_N()) if (this.field_71437_Z != null && this.field_71437_Z.func_175578_N())
{ {
this.field_71437_Z.func_71263_m(); this.field_71437_Z.func_71263_m();
+ if (field_71461_s != null) + if (field_71461_s != null && this.field_71425_J)
+ { + {
+ this.field_71461_s.func_73719_c(I18n.func_135052_a("forge.client.shutdown.internal")); + this.field_71461_s.func_73719_c(I18n.func_135052_a("forge.client.shutdown.internal"));
+ } + }