From 21004d4cbe067d53c7d747e68f358d53e8ff4021 Mon Sep 17 00:00:00 2001 From: Edith Boles Date: Mon, 4 Oct 2021 15:48:14 -0700 Subject: [PATCH] Fix hologram --- src/main/java/top/penowl/quidproquo/Events.java | 2 +- .../java/top/penowl/quidproquo/rituals/FakePlayerRitual.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/top/penowl/quidproquo/Events.java b/src/main/java/top/penowl/quidproquo/Events.java index ca2f594..d4c3ff2 100644 --- a/src/main/java/top/penowl/quidproquo/Events.java +++ b/src/main/java/top/penowl/quidproquo/Events.java @@ -60,7 +60,7 @@ public final class Events implements Listener { } Collections.sort(uuids); - player.playSound(location, Sound.CLICK, 1, 1); + player.playSound(location, Sound.CLICK, 0.5f, 1); if (uuids.size() == 0) { player.sendMessage(ChatColor.YELLOW + "No targets online!"); } else { diff --git a/src/main/java/top/penowl/quidproquo/rituals/FakePlayerRitual.java b/src/main/java/top/penowl/quidproquo/rituals/FakePlayerRitual.java index 27fcdad..f7be3bd 100644 --- a/src/main/java/top/penowl/quidproquo/rituals/FakePlayerRitual.java +++ b/src/main/java/top/penowl/quidproquo/rituals/FakePlayerRitual.java @@ -38,6 +38,7 @@ public class FakePlayerRitual extends Ritual { fp_livingEntity.setHealth(100.0); fp_livingEntity.addPotionEffect(new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 200, 100)); fp_livingEntity.addPotionEffect(new PotionEffect(PotionEffectType.WITHER, 200, 1)); + fp_livingEntity.setCustomNameVisible(true); Slime fpSlime = (Slime)fp_livingEntity; fpSlime.setSize(1); }