mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Add sound effects
This commit is contained in:
1 parent
7b1930e554
commit
7d4dc6f11d
5 files changed
+33
-4
No files matched your search
@@ -110,6 +110,11 @@ public class BukkitPlayer extends OnlineUser {
|
||||
player.spigot().sendMessage(new TranslatableComponent(translationKey));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void playSound(@NotNull String soundEffect) {
|
||||
player.playSound(player.getLocation(), soundEffect, 1, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CompletableFuture<TeleportResult> teleport(@NotNull Location location, boolean asynchronous) {
|
||||
return CompletableFuture.supplyAsync(() -> {
|
||||
|
||||
Reference in new issue
Block a user