1
0
mirror of https://github.com/nkomarn/harbor.git synced 2024-12-19 23:08:58 +01:00

Removed broken code for testing

This commit is contained in:
Mykyta Komarn 2019-04-01 20:36:14 -07:00
parent f7e1f0473e
commit 692480daec

View File

@ -19,10 +19,10 @@ public class Task implements Runnable {
});
// Fix time if players leave bed naturally
if (w.getTime() >= 0 && w.getTime() <= 100) {
/*if (w.getTime() >= 0 && w.getTime() <= 100) {
ArrayList<Player> list = new ArrayList<Player>();
Util.sleeping.put(w, list);
}
}*/
// Send actionbar if someone's sleeping
if (util.getSleeping(w) > 0 && util.getSleeping(w) < w.getPlayers().size()) {w.getPlayers().forEach(p -> {util.sendActionbar(p, config.getString("messages.actionbar.sleeping"), w);});}