diff --git a/hCore-bukkit/nms/v1_20_R1/src/main/java/com/hakan/core/ui/sign/versions/SignGui_v1_20_R1.java b/hCore-bukkit/nms/v1_20_R1/src/main/java/com/hakan/core/ui/sign/versions/SignGui_v1_20_R1.java index 02eef3a8..841bb949 100644 --- a/hCore-bukkit/nms/v1_20_R1/src/main/java/com/hakan/core/ui/sign/versions/SignGui_v1_20_R1.java +++ b/hCore-bukkit/nms/v1_20_R1/src/main/java/com/hakan/core/ui/sign/versions/SignGui_v1_20_R1.java @@ -39,15 +39,15 @@ private SignGui_v1_20_R1(@Nonnull Player player, @Override public SignGui open() { Location location = super.player.getLocation(); - BlockPosition blockPosition = new BlockPosition(location.getBlockX(), LOWEST_Y_AXIS + 1, location.getBlockZ()); + BlockPosition blockPosition = new BlockPosition(location.getBlockX(), location.getBlockY() + 3, location.getBlockZ()); IBlockData data = CraftMagicNumbers.getBlock(super.type.asMaterial()).n(); HCore.sendPacket(super.player, new PacketPlayOutBlockChange(blockPosition, data)); TileEntitySign sign = new TileEntitySign(blockPosition, null); SignText signText = sign.a(true); - for (int i = 0; i < lines.length; i++) - signText = signText.a(i, IChatBaseComponent.a(lines[i])); + for (int i = 0; i < super.lines.length; i++) + signText = signText.a(i, IChatBaseComponent.a(super.lines[i])); sign.a(signText, true); HCore.sendPacket(super.player, sign.j());