Make plugin automatically fetch on player join.

This commit is contained in:
sigonasr2 2016-07-07 20:37:05 -05:00
parent 9d86e06c16
commit d72d498c36
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -796,6 +796,7 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
//MESSAGE: Sound.NOTE_STICKS, 0.6f, 0.85f); //MESSAGE: Sound.NOTE_STICKS, 0.6f, 0.85f);
} }
} }
pluginupdater.FetchPlugins();
playerdata.put(ev.getPlayer().getUniqueId(), new PlayerStructure(ev.getPlayer(),getServerTickTime())); playerdata.put(ev.getPlayer().getUniqueId(), new PlayerStructure(ev.getPlayer(),getServerTickTime()));
log("[TASK] New Player Data has been added. Size of array: "+playerdata.size(),4); log("[TASK] New Player Data has been added. Size of array: "+playerdata.size(),4);