net.labymod.serverapi.bungee.listener.PlayerJoinListener   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 4
dl 0
loc 6
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A onJoin(PostLoginEvent) 0 4 1
1
package net.labymod.serverapi.bungee.listener;
2
3
import net.labymod.serverapi.bungee.LabyModPlugin;
4
import net.md_5.bungee.api.event.PostLoginEvent;
5
import net.md_5.bungee.api.plugin.Listener;
6
import net.md_5.bungee.event.EventHandler;
7
8
/**
9
 * Class created by qlow | Jan
10
 */
11
public class PlayerJoinListener implements Listener {
12
13
    @EventHandler
14
    public void onJoin( PostLoginEvent event ) {
15
        // Sending the permissions
16
        LabyModPlugin.getInstance().sendPermissions( event.getPlayer() );
17
    }
18
19
}
20