diff --git a/src/providers/DynmapMapProvider.ts b/src/providers/DynmapMapProvider.ts index d14d85b..1d634b3 100644 --- a/src/providers/DynmapMapProvider.ts +++ b/src/providers/DynmapMapProvider.ts @@ -185,8 +185,8 @@ export default class DynmapMapProvider extends MapProvider { this.store.commit(MutationTypes.ADD_TILE_UPDATES, updates.tiles); this.store.commit(MutationTypes.ADD_CHAT, updates.chat); - if(response.configHash) { - this.store.commit(MutationTypes.SET_SERVER_CONFIGURATION_HASH, response.confighash || 0); + if(response.confighash) { + this.store.commit(MutationTypes.SET_SERVER_CONFIGURATION_HASH, response.confighash); } await this.store.dispatch(ActionTypes.SET_PLAYERS, players);