Location def = fisher.getFishLoc();
if(!GeoEngine.canMoveWithCollision(fisher.getX(), fisher.getY(), fisher.getZ(), def.x, def.y, def.z, fisher.getReflection().getGeoIndex()))
{
def = fisher.getLoc();
}
L2PenaltyMonsterInstance npc = new L2PenaltyMonsterInstance(IdFactory.getInstance().getNextId(), temp);
npc.setSpawnedLoc(def);
npc.setReflection(fisher.getReflection());
npc.setHeading(fisher.getHeading() - 32768);
npc.onSpawn();
npc.spawnMe(npc.getSpawnedLoc());
npc.SetPlayerToKill(fisher);
}
catch(Exception e)
{
_log.warning("Could not spawn Penalty Monster " + npcid + ", exception: " + e);
e.printStackTrace();