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