mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-27 10:31:42 +01:00
Fix Error
This commit is contained in:
parent
a66b4d8104
commit
256b365980
@ -191,7 +191,7 @@ public class Plan extends BukkitPlugin<Plan> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Benchmark.start("ServerInfo Registration");
|
Benchmark.start("ServerInfo Registration");
|
||||||
serverInfoManager = new ServerInfoManager(this);
|
serverInfoManager = new ServerInfoManager(this);
|
||||||
Benchmark.stop("Enable", "ServerInfo Registration");
|
Benchmark.stop("Enable", "ServerInfo Registration");
|
||||||
|
|
||||||
setupFilter(); // TODO Move to RegisterCommand Constructor
|
setupFilter(); // TODO Move to RegisterCommand Constructor
|
||||||
@ -229,7 +229,7 @@ public class Plan extends BukkitPlugin<Plan> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private final void initColorScheme() {
|
private void initColorScheme() {
|
||||||
try {
|
try {
|
||||||
ChatColor mainColor = ChatColor.getByChar(Settings.COLOR_MAIN.toString().charAt(1));
|
ChatColor mainColor = ChatColor.getByChar(Settings.COLOR_MAIN.toString().charAt(1));
|
||||||
ChatColor secColor = ChatColor.getByChar(Settings.COLOR_SEC.toString().charAt(1));
|
ChatColor secColor = ChatColor.getByChar(Settings.COLOR_SEC.toString().charAt(1));
|
||||||
|
@ -100,7 +100,7 @@ public class PlanDeathEventListener implements Listener {
|
|||||||
|
|
||||||
Player player = (Player) source;
|
Player player = (Player) source;
|
||||||
|
|
||||||
handler.addToPool(new KillInfo(player.getUniqueId(), time, dead, "Bow"));
|
plugin.addToProcessQueue(new KillInfo(player.getUniqueId(), time, dead, "Bow"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user