Skip to content

Commit

Permalink
release 3.2.1 and change of GameStoppingEvent instead of GameStoppedE…
Browse files Browse the repository at this point in the history
…vent
  • Loading branch information
KasperFranz committed Apr 21, 2017
1 parent 686c45c commit 503da9c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 67 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/ ), and following the format from [keep a CHANGELOG](http://keepachangelog.com/ )

## [Unreleased][unreleased]
### Added

### Changed

### Fixed


## 2017-04-21 3.2.1
### Changed
- Using the gameStoppingEvent instead of the GameStopped event to be sure that we can unforce properly.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = 'net.kaikk.mc'
version = '3.2.0'
version = '3.2.1'
description = 'Better Chunkloading.'
project.ext.authors = 'KaiNoMood, Rob5Underscores, KasperFranz'

Expand Down
64 changes: 0 additions & 64 deletions pom.xml

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/java/net/kaikk/mc/bcl/BetterChunkLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.spongepowered.api.config.ConfigDir;
import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.game.state.GameStartedServerEvent;
import org.spongepowered.api.event.game.state.GameStoppedServerEvent;
import org.spongepowered.api.event.game.state.GameStoppingServerEvent;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.format.TextColors;
Expand Down Expand Up @@ -170,7 +170,7 @@ public void onServerStart(GameStartedServerEvent event) {
}

@Listener
public void onDisable(GameStoppedServerEvent event) {
public void onDisable(GameStoppingServerEvent event) {
for (CChunkLoader cl : DataStoreManager.getDataStore().getChunkLoaders()) {
if (cl.getServerName().equalsIgnoreCase(Config.getConfig().get().getNode("ServerName").getString())) {
BCLForgeLib.instance().removeChunkLoader(cl);
Expand Down

0 comments on commit 503da9c

Please sign in to comment.