From bdbbd0bef985ba81aebc401e86819c81a7fba36a Mon Sep 17 00:00:00 2001 From: Pyrbu Date: Wed, 3 May 2023 16:08:53 +0100 Subject: [PATCH] remove folia scheduler comments --- .../main/java/lol/pyr/znpcsplus/scheduling/FoliaScheduler.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/scheduling/FoliaScheduler.java b/plugin/src/main/java/lol/pyr/znpcsplus/scheduling/FoliaScheduler.java index b6c6afb..94f457d 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/scheduling/FoliaScheduler.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/scheduling/FoliaScheduler.java @@ -20,7 +20,6 @@ public class FoliaScheduler extends TaskScheduler { } catch (IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } - // Bukkit.getAsyncScheduler().runNow(plugin, task -> runnable.run()); } @Override @@ -31,7 +30,6 @@ public class FoliaScheduler extends TaskScheduler { } catch (IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } - // Bukkit.getAsyncScheduler().runDelayed(plugin, task -> runnable.run(), ticks * 50, TimeUnit.MILLISECONDS); } @Override @@ -42,7 +40,6 @@ public class FoliaScheduler extends TaskScheduler { } catch (IllegalAccessException | InvocationTargetException e) { throw new RuntimeException(e); } - // Bukkit.getAsyncScheduler().runAtFixedRate(plugin, task -> runnable.run(), delay * 50, ticks * 50, TimeUnit.MILLISECONDS); } }