Skip to content

Commit

Permalink
Actual data
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberpwnn committed Nov 9, 2016
1 parent 07ced77 commit 02f4e76
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/org/cyberpwn/titles/CommandController.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public class CommandController extends Controller implements CommandExecutor, Co
public CommandController(Controllable parentController)
{
super(parentController);

cc = new DataCluster();
}

@Override
Expand Down Expand Up @@ -432,6 +434,7 @@ public void on(PlayerJoinEvent e)
Bukkit.dispatchCommand(Bukkit.getConsoleSender(), i.split(";;")[1]);
s("Dispatched Title > /" + i.split(";;")[1]);
queued.remove(i);
saveCluster(this);
}
}

Expand Down Expand Up @@ -484,12 +487,12 @@ public String getCodeName()
@Override
public void onStart()
{

loadCluster(this);
}

@Override
public void onStop()
{

saveCluster(this);
}
}

0 comments on commit 02f4e76

Please sign in to comment.