We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0663c commit af0b740Copy full SHA for af0b740
src/main/java/eu/decentsoftware/holograms/plugin/commands/HologramSubCommand.java
@@ -812,7 +812,12 @@ public CommandHandler getCommandHandler() {
812
Hologram hologram = Validator.getHologram(args[0], Lang.HOLOGRAM_DOES_NOT_EXIST.getValue());
813
Player player = Validator.getPlayer(sender);
814
Location playerLocation = player.getLocation();
815
- hologram.setLocation(playerLocation);
+ Location location = hologram.getLocation();
816
+ location.setWorld(playerLocation.getWorld());
817
+ location.setX(playerLocation.getX());
818
+ location.setY(playerLocation.getY());
819
+ location.setZ(playerLocation.getZ());
820
+ hologram.setLocation(location);
821
hologram.realignLines();
822
hologram.save();
823
0 commit comments