mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
packets: Fix test plugin not compiling
This commit is contained in:
@@ -28,7 +28,7 @@ public class FancySitulaPlugin extends JavaPlugin {
|
||||
packetListener = FancySitula.PACKET_LISTENER_FACTORY.createPacketListener(FS_ServerboundPacket.Type.CUSTOM_CLICK_ACTION);
|
||||
packetListener.addListener((event) -> {
|
||||
FS_ServerboundCustomClickActionPacket packet = (FS_ServerboundCustomClickActionPacket) event.packet();
|
||||
System.out.println("Received custom click action packet: " + packet.getId() + " with payload: " + packet.getPayload().orElse("No payload"));
|
||||
System.out.println("Received custom click action packet: " + packet.getId());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user