From 2cfd8965bfe9d2f0c2737f464fdec081711b129c Mon Sep 17 00:00:00 2001 From: ayunami2000 Date: Sat, 30 Apr 2022 09:27:20 -0400 Subject: [PATCH] Fix sample files. --- samples/ayunami2000/VideoMapPacketCodec.java | 2 +- samples/ayunami2000/VideoMapPacketCodecBukkit.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/ayunami2000/VideoMapPacketCodec.java b/samples/ayunami2000/VideoMapPacketCodec.java index e44165c..bb8a924 100644 --- a/samples/ayunami2000/VideoMapPacketCodec.java +++ b/samples/ayunami2000/VideoMapPacketCodec.java @@ -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) { diff --git a/samples/ayunami2000/VideoMapPacketCodecBukkit.java b/samples/ayunami2000/VideoMapPacketCodecBukkit.java index b782cae..74f592d 100644 --- a/samples/ayunami2000/VideoMapPacketCodecBukkit.java +++ b/samples/ayunami2000/VideoMapPacketCodecBukkit.java @@ -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)); } /**