From 35e9e88b9e4da5aeb226eef54f89588dbf6d8d10 Mon Sep 17 00:00:00 2001 From: Freddie Date: Tue, 30 May 2023 22:06:08 +0100 Subject: [PATCH] make packet handler use voids not booleans --- src/main/java/lol/vera/spigot/packet/PacketHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/lol/vera/spigot/packet/PacketHandler.java b/src/main/java/lol/vera/spigot/packet/PacketHandler.java index 90df9a4..3d941d2 100644 --- a/src/main/java/lol/vera/spigot/packet/PacketHandler.java +++ b/src/main/java/lol/vera/spigot/packet/PacketHandler.java @@ -4,8 +4,8 @@ import org.bukkit.entity.Player; public interface PacketHandler { - boolean handleSent(Player player, Object packet); + void handleSent(Player player, Object packet); - boolean handleReceived(Player player, Object packet); + void handleReceived(Player player, Object packet); } \ No newline at end of file