瀏覽代碼

BETA: Fixing minor typos introduced in [10336]

Rumen Nikiforov 11 年之前
父節點
當前提交
ebfb80ed45

+ 5 - 1
L2J_DataPack_BETA/dist/game/data/scripts/handlers/admincommandhandlers/AdminQuest.java

@@ -251,7 +251,7 @@ public class AdminQuest implements IAdminCommandHandler
 					}
 				}
 				
-				if (!npcs.isEmpty())
+				if (!events.isEmpty())
 				{
 					events = events.substring(2);
 				}
@@ -262,6 +262,10 @@ public class AdminQuest implements IAdminCommandHandler
 					{
 						npcs += ", " + npcId;
 					}
+				}
+				
+				if (!npcs.isEmpty())
+				{
 					npcs = npcs.substring(2);
 				}