Java Code Examples for com.comphenix.protocol.events.ListenerPriority#NORMAL

The following examples show how to use com.comphenix.protocol.events.ListenerPriority#NORMAL . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ForceFieldAdapter.java    From CombatLogX with GNU General Public License v3.0 4 votes vote down vote up
ForceFieldAdapter(ForceField forceField) {
    super(forceField.getExpansion().getPlugin().getPlugin(), ListenerPriority.NORMAL, PacketType.Play.Server.BLOCK_CHANGE);
    this.forceField = forceField;
    this.plugin = this.forceField.getExpansion().getPlugin();
}
 
Example 2
Source File: ServerListPacketListener.java    From SuperVanish with Mozilla Public License 2.0 4 votes vote down vote up
public ServerListPacketListener(SuperVanish plugin) {
    //noinspection deprecation
    super(plugin, ListenerPriority.NORMAL, PacketType.Status.Server.OUT_SERVER_INFO);
    this.plugin = plugin;
}
 
Example 3
Source File: HardcoreHeartsModule.java    From UHC with MIT License 4 votes vote down vote up
HardcoreHeartsListener() {
    super(HardcoreHeartsModule.this.plugin, ListenerPriority.NORMAL, PacketType.Play.Server.LOGIN);
}
 
Example 4
Source File: TabCompletePacketAdapter.java    From AuthMeReloaded with GNU General Public License v3.0 4 votes vote down vote up
TabCompletePacketAdapter(AuthMe plugin, PlayerCache playerCache) {
    super(plugin, ListenerPriority.NORMAL, PacketType.Play.Client.TAB_COMPLETE);
    this.playerCache = playerCache;
}