Remove CarbonChat#serverId and add @ServerId injection binding annotation

This commit is contained in:
Jason Penilla committed 2023-08-10 14:11:47 -07:00
1 parent dc37c94fb2
commit ea4d0c9b5a
10 files changed
+67 -40

No files matched your search

@@ -19,7 +19,6 @@
*/
package net.draycia.carbon.api;
import java.util.UUID;
import net.draycia.carbon.api.channels.ChannelRegistry;
import net.draycia.carbon.api.event.CarbonEvent;
import net.draycia.carbon.api.event.CarbonEventHandler;
@@ -41,14 +40,6 @@ import org.checkerframework.framework.qual.DefaultQualifier;
@DefaultQualifier(NonNull.class)
public interface CarbonChat {
/**
* The server's ID, used for cross-server message handling.
*
* @return the server id
* @since 2.1.0
*/
UUID serverId();
/**
* The {@link CarbonEventHandler event handler}, used for listening to
* and emitting {@link CarbonEvent events}.