Skip to content

Commit

Permalink
Initialize the EDT with a default worker pool scheme.
Browse files Browse the repository at this point in the history
  • Loading branch information
drdanick committed Jul 7, 2013
1 parent e5db323 commit de0f1c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/me/neatmonster/spacebukkit/SpaceBukkit.java
Expand Up @@ -22,6 +22,7 @@
import java.io.File;

import com.drdanick.rtoolkit.system.EventDispatchWorker;
import com.drdanick.rtoolkit.system.SingleWorkerPool;
import mcstats.Metrics;
import me.neatmonster.spacebukkit.actions.PlayerActions;
import me.neatmonster.spacebukkit.actions.ServerActions;
Expand Down Expand Up @@ -139,7 +140,7 @@ public void onEnable() {
}

if(edt == null)
edt = new EventDispatcher();
edt = new EventDispatcher(new SingleWorkerPool());

if(toolkitEventWorker == null) {
toolkitEventWorker = new EventDispatchWorker();
Expand Down

0 comments on commit de0f1c0

Please sign in to comment.