From 0154d6d8504b2365e85a3b31147a4b5efff27175 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Tue, 4 Feb 2020 22:29:11 +0000 Subject: [PATCH] Improved NPC and Door instance information htmls. --- .../model/actor/instance/DoorInstance.java | 26 ++++++++----------- .../model/actor/instance/NpcInstance.java | 2 +- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java index 0950ef1e2a..8d5684cf23 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/model/actor/instance/DoorInstance.java @@ -588,23 +588,19 @@ public class DoorInstance extends Creature player.sendPacket(new DoorStatusUpdate(this)); } final NpcHtmlMessage html = new NpcHtmlMessage(getObjectId()); - final StringBuilder html1 = new StringBuilder(""); - html1.append(""); - html1.append(""); - html1.append(""); - html1.append(""); - html1.append(""); - html1.append(""); - html1.append(""); - html1.append(""); - html1.append("
Door Information
Current HP " + getCurrentHp() + "
Max HP " + getMaxHp() + "
Object ID: " + getObjectId() + "
Door ID: " + _doorId + "

Class: " + getClass().getSimpleName() + "

"); - html1.append(""); - html1.append(""); - html1.append(""); + final StringBuilder html1 = new StringBuilder("
Door Information
"); + html1.append("
"); html1.append(""); html1.append(""); - html1.append("
"); - + html1.append("