Skip to content
Snippets Groups Projects
Commit 87bff5f1 authored by xban1x's avatar xban1x
Browse files

BETA: DP-Part for [L6235].

	* Reviewed by: Zoey76, UnAfraid
parent 0f015330
No related branches found
No related tags found
No related merge requests found
...@@ -271,8 +271,8 @@ public class AdminEventEngine implements IAdminCommandHandler ...@@ -271,8 +271,8 @@ public class AdminEventEngine implements IAdminCommandHandler
continue; continue;
} }
player.getEventStatus().eventSitForced = !player.getEventStatus().eventSitForced; player.getEventStatus().setSitForced(!player.getEventStatus().isSitForced());
if (player.getEventStatus().eventSitForced) if (player.getEventStatus().isSitForced())
{ {
player.sitDown(); player.sitDown();
} }
...@@ -593,7 +593,7 @@ public class AdminEventEngine implements IAdminCommandHandler ...@@ -593,7 +593,7 @@ public class AdminEventEngine implements IAdminCommandHandler
} }
else if (type.equalsIgnoreCase("kills") && (player.getEventStatus() != null)) else if (type.equalsIgnoreCase("kills") && (player.getEventStatus() != null))
{ {
num = n * player.getEventStatus().kills.size(); num = n * player.getEventStatus().getKills().size();
} }
else else
{ {
......
...@@ -67,8 +67,8 @@ public class StatsVCmd implements IVoicedCommandHandler ...@@ -67,8 +67,8 @@ public class StatsVCmd implements IVoicedCommandHandler
return false; return false;
} }
final StringBuilder replyMSG = StringUtil.startAppend(300 + (pc.getEventStatus().kills.size() * 50), "<html><body>" + "<center><font color=\"LEVEL\">[ L2J EVENT ENGINE ]</font></center><br><br>Statistics for player <font color=\"LEVEL\">", pc.getName(), "</font><br>Total kills <font color=\"FF0000\">", String.valueOf(pc.getEventStatus().kills.size()), "</font><br><br>Detailed list: <br>"); final StringBuilder replyMSG = StringUtil.startAppend(300 + (pc.getEventStatus().getKills().size() * 50), "<html><body>" + "<center><font color=\"LEVEL\">[ L2J EVENT ENGINE ]</font></center><br><br>Statistics for player <font color=\"LEVEL\">", pc.getName(), "</font><br>Total kills <font color=\"FF0000\">", String.valueOf(pc.getEventStatus().getKills().size()), "</font><br><br>Detailed list: <br>");
for (L2PcInstance plr : pc.getEventStatus().kills) for (L2PcInstance plr : pc.getEventStatus().getKills())
{ {
StringUtil.append(replyMSG, "<font color=\"FF0000\">", plr.getName(), "</font><br>"); StringUtil.append(replyMSG, "<font color=\"FF0000\">", plr.getName(), "</font><br>");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment