Fix sample files.

This commit is contained in:
ayunami2000 2022-04-30 09:27:20 -04:00
parent ea8f631d15
commit 2cfd8965bf
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ public class VideoMapPacketCodec {
/**
* @param url URL to an MP4 or other HTML5 supported video file
* @param loop If the video file should loop
* @param durationSeconds duration of the video in seconds
* @param duration duration of the video in seconds
* @return packet to send to players
*/
public byte[] beginPlayback(String url, boolean loop, float duration) {

View File

@ -122,7 +122,7 @@ public class VideoMapPacketCodecBukkit extends VideoMapPacketCodec {
* @return packet to send to players
*/
public VideoMapPacket beginPlaybackImageBukkit(String url) {
return new VideoMapPacket(beginPlayback(url, loop, duration));
return new VideoMapPacket(beginPlayback(url));
}
/**