Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new BukkitRunnable() {
- @Override
- public void run() {
- for (Player player:Bukkit.getOnlinePlayers()) {
- ProtectedRegion region = null; //TODO получение региона в котором находиться
- int time = config.getInt("players.regions."+region.getId().toLowerCase()) + 1; //в
- config.set("players.regions."+region.
- }
- }
- }.runTaskTimerAsynchronously(plugin, 20L, 20L);
Advertisement
Add Comment
Please, Sign In to add comment