mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Remove CarbonChat#serverId and add @ServerId injection binding annotation
This commit is contained in:
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}.
|
||||
|
||||
Reference in new issue
Block a user