mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-28 12:55:25 +01:00
L-O-L.
This commit is contained in:
parent
ebcc776553
commit
e049523b30
@ -7,6 +7,8 @@ import me.asofold.bpl.cncp.hooks.AbstractHook;
|
|||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
import org.bukkit.event.EventHandler;
|
||||||
|
import org.bukkit.event.EventPriority;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.event.player.PlayerJoinEvent;
|
import org.bukkit.event.player.PlayerJoinEvent;
|
||||||
|
|
||||||
@ -65,7 +67,8 @@ public class HookSetSpeed extends AbstractHook implements Listener, Configurable
|
|||||||
player.setFlySpeed(flySpeed);
|
player.setFlySpeed(flySpeed);
|
||||||
}
|
}
|
||||||
|
|
||||||
final void onPlayerJoin(final PlayerJoinEvent event){
|
@EventHandler(priority=EventPriority.LOWEST)
|
||||||
|
public final void onPlayerJoin(final PlayerJoinEvent event){
|
||||||
setSpeed(event.getPlayer());
|
setSpeed(event.getPlayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user