From 4ced8ea4ff86dda53f14585f254684578dcb46b5 Mon Sep 17 00:00:00 2001 From: qscbm187531 <1309635304@qq.com> Date: Sat, 5 Aug 2023 23:03:13 +0800 Subject: [PATCH] Update EventManage.java --- .../dodoopenjava/event/EventManage.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/event-core/src/main/java/io/github/minecraftchampions/dodoopenjava/event/EventManage.java b/event-core/src/main/java/io/github/minecraftchampions/dodoopenjava/event/EventManage.java index f519b87a..91f88fa3 100644 --- a/event-core/src/main/java/io/github/minecraftchampions/dodoopenjava/event/EventManage.java +++ b/event-core/src/main/java/io/github/minecraftchampions/dodoopenjava/event/EventManage.java @@ -77,23 +77,7 @@ public static Map, Set> createRegiste } return ret; } - - public static void main(String... args) throws InterruptedException { - CompletableFuture.allOf(CompletableFuture.runAsync(()-> { - System.out.println("Abcvb"); - try { - Thread.sleep(1000); - } catch (InterruptedException e) { - throw new RuntimeException(e); - } - System.out.println("a"); - while (true) { - System.out.println("1"); - } - })); - System.out.println("1"); - Thread.sleep(10000); - } + private static boolean isInit = false; /**