Fix spacing

This commit is contained in:
Draycia committed 2020-09-09 20:20:45 -07:00
1 parent a8788c7d3d
commit a47ff4e7b2
74 files changed
+5000 -4927

No files matched your search

@@ -11,45 +11,45 @@ import java.util.List;
public class ChannelRegisterEvent extends Event {
/**
* Bukkit event stuff
*/
@NonNull
private static final HandlerList handlers = new HandlerList();
/**
* Bukkit event stuff
*/
@NonNull
private static final HandlerList handlers = new HandlerList();
@Override
@NonNull
public HandlerList getHandlers() {
return handlers;
}
@Override
@NonNull
public HandlerList getHandlers() {
return handlers;
}
@NonNull
public static HandlerList getHandlerList() {
return handlers;
}
@NonNull
public static HandlerList getHandlerList() {
return handlers;
}
/**
* Relevant stuff
*/
@NonNull
private final List<@NonNull ChatChannel> registeredChannels;
/**
* Relevant stuff
*/
@NonNull
private final List<@NonNull ChatChannel> registeredChannels;
@NonNull
private final Registry<ChatChannel> registry;
@NonNull
private final Registry<ChatChannel> registry;
public ChannelRegisterEvent(@NonNull List<@NonNull ChatChannel> registeredChannels, @NonNull Registry<ChatChannel> registry) {
super(!Bukkit.isPrimaryThread());
public ChannelRegisterEvent(@NonNull List<@NonNull ChatChannel> registeredChannels, @NonNull Registry<ChatChannel> registry) {
super(!Bukkit.isPrimaryThread());
this.registeredChannels = registeredChannels;
this.registry = registry;
}
this.registeredChannels = registeredChannels;
this.registry = registry;
}
public void register(@NonNull ChatChannel chatChannel) {
registry.register(chatChannel.getKey(), chatChannel);
}
public void register(@NonNull ChatChannel chatChannel) {
registry.register(chatChannel.getKey(), chatChannel);
}
@NonNull
public List<@NonNull ChatChannel> getRegisteredChannels() {
return registeredChannels;
}
@NonNull
public List<@NonNull ChatChannel> getRegisteredChannels() {
return registeredChannels;
}
}