mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-12-22 09:07:56 +01:00
Use BLOCK_MARKER instead of BLOCK for 1.19 compat
This commit is contained in:
parent
385b9691d5
commit
c1def34749
@ -448,7 +448,7 @@ public class HologramTrait extends Trait {
|
||||
AreaEffectCloud cloud = (AreaEffectCloud) hologram.getEntity();
|
||||
if (!rendered) {
|
||||
cloud.setRadius(0);
|
||||
cloud.setParticle(Particle.BLOCK, Bukkit.createBlockData(Material.AIR));
|
||||
cloud.setParticle(Particle.BLOCK_MARKER, Bukkit.createBlockData(Material.AIR));
|
||||
}
|
||||
hologram.getEntity().teleport(
|
||||
npc.getEntity().getLocation().clone().add(offset.x,
|
||||
|
Loading…
Reference in New Issue
Block a user