mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fix NPE in TraxManager Disposal in Room.java
This commit is contained in:
parent
68e55c5a09
commit
1070283284
@ -857,7 +857,8 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
|||||||
|
|
||||||
if (this.loaded) {
|
if (this.loaded) {
|
||||||
try {
|
try {
|
||||||
if (!this.traxManager.disposed()) {
|
|
||||||
|
if (this.traxManager != null && !this.traxManager.disposed()) {
|
||||||
this.traxManager.dispose();
|
this.traxManager.dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user