From 9731b656b3917fc16f98f1353739b052777ccb36 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Mon, 2 Nov 2020 18:09:51 +0100 Subject: [PATCH] Add debug output --- src/de/steamwar/spectatesystem/PacketProcessor.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/spectatesystem/PacketProcessor.java b/src/de/steamwar/spectatesystem/PacketProcessor.java index b14e386..10aa520 100644 --- a/src/de/steamwar/spectatesystem/PacketProcessor.java +++ b/src/de/steamwar/spectatesystem/PacketProcessor.java @@ -67,6 +67,7 @@ class PacketProcessor { if(user == null) throw new IOException("Unknown user " + userId); + System.out.println("Player " + user.getUserName() + " joins!"); Bukkit.getScheduler().runTask(SpectateSystem.get(), () -> new RPlayer(user.getUUID(), user.getUserName(), entityId)); }