mirror of
https://github.com/ayunami2000/ayunEagVidMap.git
synced 2024-12-21 22:24:10 -08:00
upd
This commit is contained in:
parent
e219717db6
commit
e2bd6401ae
|
@ -89,9 +89,11 @@ public class Main extends JavaPlugin implements CommandExecutor, Listener {
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void onPlayerJoin(PlayerJoinEvent event) {
|
public void onPlayerJoin(PlayerJoinEvent event) {
|
||||||
Player player = event.getPlayer();
|
if (videoMapCodec != null && videoMapCodec.getURL() != null) {
|
||||||
videoMapCodec.beginPlaybackBukkit(videoMapCodec.getURL(), videoMapCodec.isLoopEnable(), videoMapCodec.getDuration()).send(player);
|
Player player = event.getPlayer();
|
||||||
syncToPlayer(player);
|
videoMapCodec.beginPlaybackBukkit(videoMapCodec.getURL(), videoMapCodec.isLoopEnable(), videoMapCodec.getDuration()).send(player);
|
||||||
|
syncToPlayer(player);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user