Skip to content

Commit 34a72f3

Browse files
committed
Fixed bug in compatibility with old NBAPI structure
1 parent 82e1c1b commit 34a72f3

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.xxmicloxx</groupId>
77
<artifactId>NoteBlockAPI</artifactId>
8-
<version>1.5.0</version>
8+
<version>1.5.1-SNAPSHOT</version>
99
<name>NoteBlockAPI</name>
1010

1111
<properties>

src/main/java/com/xxmicloxx/NoteBlockAPI/Interpolator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
*
88
* @author : $Author: brian $
99
* @version : $Revision: 1.1 $
10-
* <hr><p><font size="-1" color="#336699"><a href="http://www.mbari.org">
10+
* <hr><p><a href="http://www.mbari.org">
1111
* The Monterey Bay Aquarium Research Institute (MBARI)</a> provides this
1212
* documentation and code &quot;as is&quot;, with no warranty, express or
1313
* implied, of its quality or consistency. It is provided without support and
1414
* without obligation on the part of MBARI to assist in its use, correction,
1515
* modification, or enhancement. This information should not be published or
1616
* distributed to third parties without specific written permission from
17-
* MBARI.</font></p><br>
18-
* <font size="-1" color="#336699">Copyright 2002 MBARI.<br>
19-
* MBARI Proprietary Information. All rights reserved.</font><br><hr><br>
17+
* MBARI.</p><br>
18+
* Copyright 2002 MBARI.<br>
19+
* MBARI Proprietary Information. All rights reserved.<br><hr><br>
2020
* @deprecated {@link com.xxmicloxx.NoteBlockAPI.utils.Interpolator}
2121
*/
2222
@Deprecated

src/main/java/com/xxmicloxx/NoteBlockAPI/SongPlayer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public SongPlayer(Song song, SoundCategory soundCategory) {
6262
SongPlayer(com.xxmicloxx.NoteBlockAPI.songplayer.SongPlayer songPlayer){
6363
newSongPlayer = songPlayer;
6464
song = createSongFromNew(songPlayer.getSong());
65+
plugin = NoteBlockPlayerMain.plugin;
6566
}
6667

6768
private Song createSongFromNew(com.xxmicloxx.NoteBlockAPI.model.Song s){

src/main/java/com/xxmicloxx/NoteBlockAPI/utils/CompatibilityUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import java.util.ArrayList;
66
import java.util.HashMap;
77

8-
import com.sun.org.apache.xpath.internal.operations.Bool;
98
import org.bukkit.Bukkit;
109
import org.bukkit.Location;
1110
import org.bukkit.Sound;

src/main/java/com/xxmicloxx/NoteBlockAPI/utils/Interpolator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
*
88
* @author : $Author: brian $
99
* @version : $Revision: 1.1 $
10-
* <hr><p><font size="-1" color="#336699"><a href="http://www.mbari.org">
10+
* <hr><p><a href="http://www.mbari.org">
1111
* The Monterey Bay Aquarium Research Institute (MBARI)</a> provides this
1212
* documentation and code &quot;as is&quot;, with no warranty, express or
1313
* implied, of its quality or consistency. It is provided without support and
1414
* without obligation on the part of MBARI to assist in its use, correction,
1515
* modification, or enhancement. This information should not be published or
1616
* distributed to third parties without specific written permission from
17-
* MBARI.</font></p><br>
18-
* <font size="-1" color="#336699">Copyright 2002 MBARI.<br>
19-
* MBARI Proprietary Information. All rights reserved.</font><br><hr><br>
17+
* MBARI.</p><br>
18+
* Copyright 2002 MBARI.<br>
19+
* MBARI Proprietary Information. All rights reserved.<br><hr><br>
2020
*/
2121
public class Interpolator {
2222

0 commit comments

Comments
 (0)