Skip to content

Commit

Permalink
Bye bye NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
md-5 committed Apr 13, 2012
1 parent df65fb2 commit 398277a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/org/getspout/spout/Spout.java
Expand Up @@ -76,10 +76,6 @@ public void onDisable() {

getServer().getScheduler().cancelTasks(this);

SimpleChunkDataManager dm = (SimpleChunkDataManager) SpoutManager.getChunkDataManager();
dm.unloadAllChunks();
dm.closeAllFiles();

SimpleFileManager.clearTempDirectory();

Runtime.getRuntime().removeShutdownHook(shutdownThread);
Expand Down

0 comments on commit 398277a

Please sign in to comment.