mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Sounds are now stored as sounds rather than strings in Settings
This commit is contained in:
1 parent
7fef1b7356
commit
c03c44252a
3 files changed
+9
-8
No files matched your search
@@ -34,7 +34,7 @@ public class teleportManager {
|
||||
String server = teleportationPoint.getServer();
|
||||
if (!HuskHomes.settings.doBungee() || server.equals(HuskHomes.settings.getServerID())) {
|
||||
p.teleport(teleportationPoint.getLocation());
|
||||
p.playSound(p.getLocation(), Sound.valueOf(HuskHomes.settings.getTeleportationCompleteSound()), 1, 1);
|
||||
p.playSound(p.getLocation(), HuskHomes.settings.getTeleportationCompleteSound(), 1, 1);
|
||||
messageManager.sendMessage(p, "teleporting_complete");
|
||||
dataManager.setPlayerTeleporting(p, false);
|
||||
dataManager.clearPlayerDestination(p.getName());
|
||||
|
||||
Reference in new issue
Block a user