SteamWar/SpigotCore
Archiviert
13
0

Bungee-SchemGUI #63

Geschlossen
Chaoscaot möchte 16 Commits von bungee-schemgui nach master mergen
Nur Änderungen aus Commit b900514583 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -26,10 +26,10 @@ import de.steamwar.comms.handlers.InventoryHandler;
import de.steamwar.inventory.SWItem;
import de.steamwar.inventory.SWListInv;
import de.steamwar.sql.*;
import net.minecraft.server.v1_15_R1.Packet;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.SoundCategory;
import org.bukkit.entity.Player;
import org.bukkit.event.inventory.ClickType;
import org.bukkit.plugin.messaging.PluginMessageListener;
@ -49,7 +49,7 @@ public class BungeeReceiver implements PluginMessageListener {
UUID uuid = SteamwarUser.get(byteArrayDataInput.readInt()).getUUID();
if(Bukkit.getPlayer(uuid).isOnline()) {
Player player = Bukkit.getPlayer(uuid);
player.playSound(player.getLocation(), Sound.ENTITY_EXPERIENCE_ORB_PICKUP, 1, 1);
player.playSound(player.getLocation(), Sound.ENTITY_EXPERIENCE_ORB_PICKUP, SoundCategory.MASTER, 1, 1);
}
});