Sync with L2jServer HighFive Nov 28th 2015.

This commit is contained in:
MobiusDev
2015-11-29 11:21:55 +00:00
parent fd9e7a99fd
commit cc94608578
507 changed files with 4128 additions and 79 deletions

View File

@@ -30,6 +30,7 @@ import com.l2jserver.gameserver.data.xml.impl.DoorData;
import com.l2jserver.gameserver.model.L2Object;
import com.l2jserver.gameserver.model.L2World;
import com.l2jserver.gameserver.model.Location;
import com.l2jserver.gameserver.model.actor.instance.L2DoorInstance;
import com.l2jserver.gameserver.model.interfaces.ILocational;
import com.l2jserver.gameserver.util.GeoUtils;
import com.l2jserver.gameserver.util.LinePointIterator;
@@ -222,7 +223,7 @@ public class GeoData
*/
public boolean canSeeTarget(L2Object cha, L2Object target)
{
if (target.isDoor())
if (target instanceof L2DoorInstance)
{
return true;
}