mirror of
https://github.com/tanyaofei/minecraft-fakeplayer.git
synced 2025-07-13 21:02:27 +08:00
Noting important
This commit is contained in:
parent
a5b340e8a3
commit
fc88489d2b
@ -10,7 +10,6 @@ import io.github.hello09x.devtools.core.utils.ComponentUtils;
|
|||||||
import io.github.hello09x.fakeplayer.core.Main;
|
import io.github.hello09x.fakeplayer.core.Main;
|
||||||
import io.github.hello09x.fakeplayer.core.manager.feature.FakeplayerFeatureManager;
|
import io.github.hello09x.fakeplayer.core.manager.feature.FakeplayerFeatureManager;
|
||||||
import io.github.hello09x.fakeplayer.core.repository.model.Feature;
|
import io.github.hello09x.fakeplayer.core.repository.model.Feature;
|
||||||
import net.kyori.adventure.text.Component;
|
|
||||||
import net.kyori.adventure.text.format.Style;
|
import net.kyori.adventure.text.format.Style;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -73,7 +72,7 @@ public class ConfigCommand extends AbstractCommand {
|
|||||||
);
|
);
|
||||||
}).toList())
|
}).toList())
|
||||||
)).toList();
|
)).toList();
|
||||||
var message = Component.join(separator(newline()), lines);
|
var message = join(separator(newline()), lines);
|
||||||
Bukkit.getScheduler().runTask(Main.getInstance(), () -> sender.sendMessage(message));
|
Bukkit.getScheduler().runTask(Main.getInstance(), () -> sender.sendMessage(message));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user