forked from ChomeNS/chomens-bot-java
fix rtp text + the song thing
This commit is contained in:
parent
d6aa60a778
commit
2ff5eb9b52
2 changed files with 3 additions and 2 deletions
|
@ -37,9 +37,9 @@ public class RandomTeleportCommand extends Command {
|
|||
return Component.empty()
|
||||
.append(Component.text("Teleporting "))
|
||||
.append(Component.text(sender.profile.getName()).color(ColorUtilities.getColorByString(bot.config.colorPalette.username)))
|
||||
.append(Component.text(" to ").color(NamedTextColor.WHITE))
|
||||
.append(Component.text(" to "))
|
||||
.append(Component.text(stringPosition).color(NamedTextColor.GREEN))
|
||||
.append(Component.text("...").color(NamedTextColor.WHITE))
|
||||
.append(Component.text("..."))
|
||||
.color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,6 +84,7 @@ public class Song {
|
|||
*/
|
||||
public void play () {
|
||||
if (paused) {
|
||||
if (loopPosition != 200) bot.music.loop = Loop.CURRENT;
|
||||
paused = false;
|
||||
startTime = System.currentTimeMillis() - time;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue