Java Code Examples for org.bukkit.event.player.PlayerUnregisterChannelEvent

The following are top voted examples for showing how to use org.bukkit.event.player.PlayerUnregisterChannelEvent. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: Uranium   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 2
Project: ThermosRebased   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 3
Project: Thermos   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 4
Project: KCauldron   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 5
Project: CauldronGit   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 6
Project: Cauldron-Old   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 7
Project: Cauldron-Reloaded   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 8
Project: FFoKC   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 9
Project: CraftBukkit   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 10
Project: Craftbukkit   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 11
Project: Almura-Server   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 12
Project: Tweakkit-Server   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 13
Project: Cauldron   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 14
Project: SpigotSource   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 15
Project: Craft-city   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}
 
Example 16
Project: MCPBukkit   File: CraftPlayer.java   View source code 4 votes vote down vote up
public void removeChannel(String channel) {
    if (channels.remove(channel)) {
        server.getPluginManager().callEvent(new PlayerUnregisterChannelEvent(this, channel));
    }
}