mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +00:00
Remove unchecked cast and unnecessary generic in CarbonChatInternal
This commit is contained in:
5 files changed
+10
-14
No files matched your search
@@ -42,14 +42,13 @@ import net.draycia.carbon.velocity.listeners.VelocityChatListener;
|
||||
import net.draycia.carbon.velocity.listeners.VelocityListener;
|
||||
import net.draycia.carbon.velocity.listeners.VelocityPlayerJoinListener;
|
||||
import net.draycia.carbon.velocity.listeners.VelocityPlayerLeaveListener;
|
||||
import net.draycia.carbon.velocity.users.CarbonPlayerVelocity;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.framework.qual.DefaultQualifier;
|
||||
|
||||
@DefaultQualifier(NonNull.class)
|
||||
@Singleton
|
||||
public class CarbonChatVelocity extends CarbonChatInternal<CarbonPlayerVelocity> {
|
||||
public class CarbonChatVelocity extends CarbonChatInternal {
|
||||
|
||||
private static final Set<Class<? extends VelocityListener<?>>> LISTENER_CLASSES = Set.of(
|
||||
VelocityChatListener.class,
|
||||
|
||||
Reference in new issue
Block a user