Browse Source

BETA : Ground effect shouldn't include doors

Patch by: FallenAngel
Reviewed by: Sdw, Zealar
Reported by: Driad
Tested by: Driad, Zealar

Zealar 10 years ago
parent
commit
3531487123

+ 5 - 0
L2J_DataPack_BETA/dist/game/data/scripts/handlers/targethandlers/Ground.java

@@ -52,6 +52,11 @@ public class Ground implements ITargetTypeHandler
 					continue;
 				}
 				
+				if (character.isDoor())
+				{
+					continue;
+				}
+				
 				if ((maxTargets > 0) && (targetList.size() >= maxTargets))
 				{
 					break;